MediaWiki:AutomatedValues: Difference between revisions
Jump to navigation
Jump to search
(Added person with qualifier) |
mNo edit summary |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
"rules": [ | "rules": [ | ||
{ | { | ||
"ruleName": "People | "ruleName": "People full name label ", | ||
"when": [ | "when": [ | ||
{ | { | ||
Line 22: | Line 22: | ||
}, | }, | ||
{ | { | ||
"ruleName": "People should have a label build from their name with qualifiers last name, and their alternative names should be aliases", | "ruleName": "RULE 2: People should have a label build from their name with qualifiers last name, and their alternative names should be aliases", | ||
"when": [ | "when": [ | ||
{ | { | ||
Line 33: | Line 33: | ||
"P2": "$", | "P2": "$", | ||
"P2.P3": " $" | "P2.P3": " $" | ||
}, | |||
"nl": { | |||
"P2": "$" | |||
} | |||
}, | |||
"buildAliases": { | |||
"en": { | |||
"P4": "$" | |||
} | |||
} | |||
}, | |||
{ | |||
"ruleName": "RULE 3: People (with a profession \"author\") should have a label build from their first and last name including (WRITER), and their alternative names should be aliases", | |||
"when": [ | |||
{ | |||
"statement": "P1", | |||
"equalTo": "Q1" | |||
}, | |||
{ | |||
"statement": "P5", | |||
"equalTo": "Q8" | |||
} | |||
], | |||
"buildLabel": { | |||
"*": { | |||
"P2": "$", | |||
"P3": " $ (WRITER)" | |||
} | } | ||
}, | }, |
Latest revision as of 10:43, 8 May 2022
rules |
|
---|