mw wiki ext wikibase property put [flags]
Create a new property with an English label and the selected datatype. This command always creates a property; it does not update an existing one.
--bot
- Mark the edit as a bot edit
--datatype <string>
- Property datatype Default:
string.
--dry-run
- Show the proposed property without creating it
--expect-id <string>
- Fail unless the created property ID matches this value
--label <string>
- English label for the property Default:
text.
--summary <string>
- Summary of the edit Default:
a Wikimedia CLI: Wikibase property update.
--anon
- Use anonymous access instead of saved credentials
--help
- Help for this command
--no-interaction
- Do not ask any interactive questions
--password <string>
- Wiki login password (or bot password)
--password-file <string>
- Read the login password from a file
--profile <string>
- Saved profile name or REALM/NAME
--realm <string>
- Shared-login realm (wikimedia and wikibase-world are built in)
--username <string>
- Wiki login username (use Name@bot for a bot password)
-v, --verbose <count>
- Increase output verbosity. Example: --verbose=2 or -vv
--wiki <string>
- Wiki URL or API endpoint
mw wiki ext wikibase property put --profile wikibase-world/addshore --label 'Example property' --datatype string --dry-run