Module talk:WikidataIB: Difference between revisions

Content deleted Content added
Line 367:
:* <code><nowiki>{{#invoke:WikidataIdentifiers |getIdentifierQualifier |P1367 |qual=P1114 |qid=Q5083334}}</nowiki></code> → {{#invoke:WikidataIdentifiers |getIdentifierQualifier |P1367 |qual=P1114 |qid=Q5083334}}
: The function assumes that there is only one value for the property {{Q|P1367}} – list of exceptions are at [[d:Wikidata:Database reports/Constraint violations/P1367 #Single_value]] – and that the value has only one qualifier which is a quantity. I can expand the code to cater for other types of qualifiers, but you'd have to tell me what other types you anticipated. Naturally, the #invoke can be wrapped in a template to sweeten the syntax for others. Hope that does the trick for you. Cheers --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 15:39, 21 February 2017 (UTC)
::I feel I've now been given a fantastic early birthday present, all wrapped up in a bow!
::{{tl|Art UK bio}} is now starting to update across 750 transclusions, with a potential further 6,500 ready to add.
::I sent an email to Art UK on Friday with the list of potential duplicates from Wikidata (all of which seem pretty plausible); but no response from them as yet.
::Thank you again for such-appreciated Lua magic, and very best regards, [[User:Jheald|Jheald]] ([[User talk:Jheald|talk]])