putnik added a comment. |
In T69659#1699301, @eranroz wrote: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
- 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", } }
- some fields work with a chain of properties, e. g. if there is no P1532, we should use P27 instead.
TASK DETAIL
EMAIL PREFERENCES
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
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