MediaWiki:AutomatedValues: Difference between revisions

From Wikibase Automated Values - Demo Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
         },
         },
         {
         {
             "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",
             "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": [
             "when": [
                 {
                 {

Revision as of 16:27, 29 April 2022

rules
ruleName"RULE 1: People should have a label build from their first and last name, and their alternative names should be aliases"
when
statement"P1"
equalTo"Q1"
buildLabel
en
P2"$"
P3" $"
buildAliases
en
P4"$"
ruleName"RULE 2: People should have a label build from their name with qualifiers last name, and their alternative names should be aliases"
when
statement"P1"
equalTo"Q5"
buildLabel
en
P2"$"
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)"
buildAliases
en
P4"$"