putnik added a comment.

I just wrote an example for it on mediawiki: https://www.mediawiki.org/wiki/Wikibase/Maps_TemplateData

The problems of mapping properties for Wikidata (unlike Citoid) that

  1. we have a lot of similar properties, which names are simplified when they are inserted into infoboxes; it's your example of mapping, little extended:
"maps": {
    "wikidata": {
        "P17": "Country",
        "P27": "Country",
        "P41": "Flag",
        "P495": "Country",
        "P1532": "Country",
    }
}



  1. some fields work with a chain of properties, e. g. if there is no P1532, we should use P27 instead.

TASK DETAIL
https://phabricator.wikimedia.org/T69659

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: putnik
Cc: putnik, Mvolz, Lydia_Pintscher, RexxS, TheDJ, Mike_Peel, Trizek-WMF, Edgars2007, -jem-, IKhitron, eranroz, Aklapper, Multichill, Jdforrester-WMF, Elitre, Micru, TrevorParscal, Ricordisamoa, Keegan, Liuxinyu970226, Ltrlg, merbst, AlexMonk-WMF, Wess, D3r1ck01, Izno, Jrf, Husun1297, Wikidata-bugs, Etonkovidova, aude, Swainr, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to