MediaWiki:AutomatedValues: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
(Added a rule with two 'when' statements) |
||
Line 36: | Line 36: | ||
"nl": { | "nl": { | ||
"P2": "$" | "P2": "$" | ||
} | |||
}, | |||
"buildAliases": { | |||
"en": { | |||
"P4": "$" | |||
} | |||
} | |||
}, | |||
{ | |||
"ruleName": "People (with a profession author) should have a label build from their first and last name including (AUTHOR), and their alternative names should be aliases", | |||
"when": [ | |||
{ | |||
"statement": "P1", | |||
"equalTo": "Q1" | |||
}, | |||
{ | |||
"statement": "P5", | |||
"equalTo": "Q8" | |||
} | |||
], | |||
"buildLabel": { | |||
"en": { | |||
"P2": "$", | |||
"P3": " $ (AUTHOR)" | |||
} | } | ||
}, | }, |
Revision as of 06:56, 6 April 2022
rules |
|
---|