Mvolz added a comment. |
Could you expand a little bit? Are you saying that the maps is insufficient to work with wikidata?
So in citoid, we have a similar thing, where the citoid service may return the field name "blogTitle" or "websiteTitle" for the template field name "website" in Cite web. It's basically exactly as you've written it out there. Then in the extension we just pick the last one in the list to fill. Could the template do this? Just cycle through all the ones that are "Country" and put it whichever one that has the value and is last or first in the list?
So in that scenario, you'd just put P27 first and P1532 second, and then if there was no P1532 it would be put in from P27.
If maps *isn't* working for you, we could definitely explore expanding it to work for wikidata. We intended 'maps' to be flexible enough to work for any service, but at the time citoid is the only one that was using it so it was hard to predict what that general use case was.
Cc: hoo, 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