Main Page
Jump to navigation
Jump to search
This is the demo wiki for the Automated Values extension to Wikibase
Demo content
- MediaWiki:AutomatedValues - The Rules defined for this wiki
- Demo item (Q2, John Doe) - Item impacted by the Rules
Automated Values Documentation
Further links
Go to github.com/ProfessionalWiki/AutomatedValues/issues to report any issues.
This wiki is run by Wikibase.Consulting / Professional.Wiki.
Steps to see the demo
- Please note the first rule in the config file at MediaWiki:AutomatedValues
- Create an account if necessary, confirm email verification
- Create new item
- Add statement P1 (instance of) to "Person" (Q1)
- Add statements for P2 (First name), P3 (last name).
- Reload page (you might need to clear cache by hard-reloading see config above).
- Notice that the label in english has changed
- Add multiple statement P3 (alternative name)
- Reload page (you might need to clear cache by hard-reloading see config above).
- Notice that each P3 is added as an alias.
Additional behaviour
Using qualifiers
It is possible to use qualifier within statements to build your label/alias. See the second rule on the config page (that uses P3 as a qualifier to P2 to build the label).
- Please note the second rule config file at MediaWiki:AutomatedValues
- Create an account if necessary, confirm email verification
- Create new item
- Add statement P1 (instance of) to "Person, with qualifiers" (Q5)
- Add statement for P2 (First name), add qualifier P3 (last name).
- Reload page (you might need to clear cache by hard-reloading see config above).
- Notice that the label in english has changed
- Add multiple statement P3 (alternative name)
- Reload page (you might need to clear cache by hard-reloading see config above).
- Notice that each P3 is added as an alias.
Language specific behaviour
You build specific labels/aliases for specific languages. Please note the second rule config file at MediaWiki:AutomatedValues. Look at the Dutch (nl) rule for building a label.