emailconfirmed, Interface administrators, Administrators
110
edits
(→Additional behaviour: qualifiers and language specific rules) |
|||
Line 7: | Line 7: | ||
== Steps to see the demo == | == Steps to see the demo == | ||
# Please note the config file at [[MediaWiki:AutomatedValues]] | # Please note the first rule in the config file at [[MediaWiki:AutomatedValues]] | ||
# Create an account | # Create an account if necessary, confirm email verification | ||
# Create [[Special:NewItem|new item]] | # Create [[Special:NewItem|new item]] | ||
# Add statement P1 (instance of) to "Person" | # Add statement P1 (instance of) to "Person" (Q1) | ||
# Add statements for P2 (First name), P3 (last name). | # Add ''statements'' for P2 (First name), P3 (last name). | ||
# Reload page (you might need to clear cache by hard-reloading see config above). | # Reload page (you might need to clear cache by hard-reloading see config above). | ||
# Notice that the label in english has changed | # Notice that the label in english has changed | ||
Line 19: | Line 19: | ||
== Additional behaviour == | == 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 [[Special:NewItem|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. |