Main Page
This is the demo wiki for the Automated Values extension to Wikibase.
Demo content
- MediaWiki:AutomatedValues - The Rules defined for this wiki
- Simple demo item (Q2, John Doe) - Item impacted by the Rules
- Demo item with qualifiers (Q4, Jean-Baptiste Fresez) - Item impacted by the Rules
Automated Values Documentation
Further links
- AutomatedValues issue tracker - Report issues and get support
- Automated Values - GitHub repository of the extension
- Automating values in Wikibase - Blog post introducing the Automated Values extension
- Using automated values in Wikibase - Video on automated values in Wikibase
Wikibase services
Automated Values and this demo wiki were created and are maintained by Professional.Wiki.
We provide Wikibase development, Wikibase hosting, and other Wikibase services. Also check out our Managed MediaWiki hosting and MediaWiki services.
- Follow us on Twitter
- Follow us on Facebook
- Follow us on YouTube
- Follow us on LinkedIn
- Follow us on Medium
Interactive demo
You can create your own items, to see the Rules getting applied.
Basic example
- 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.
Using qualifiers
It is possible to use qualifier within statements to build your label/alias. See the second rule on the configuration 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.
Multiple 'when' selectors
It is possible to use multiple rule selectors, e.g. to select all Instance of (P1) of person (Q1) AND their 'Profession' (P5) is 'Author' (Q5) to make fine grained rules.
See example on Q9
- Please note the third 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 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 statement P5 (Profession) and set it to Q5 (Author).
- Reload page (you might need to clear cache by hard-reloading see config above).
- Notice that each label has an added suffix (WRITER)
- Notice that the suffix is hard-coded in the rule config.
Language specific behavior
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. See demo item on Q4. You can also set the language to * to have the rule apply to all default languages of the wikibase instance.