Module talk:WikidataIB: Difference between revisions

Content deleted Content added
How to add references: Reply; ok; time is bottleneck here
Line 55:
::I've got some code which seems to work in [[Module:WikidataIB/sandbox]] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:35, 4 October 2022 (UTC)
:::Deployed &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:10, 6 October 2022 (UTC)
 
== Using "unknown value" in queries ==
 
Is there any way to query items with "[[wikidata:Help:Statements#Unknown_or_no_values|unknown value]]" in their statemennts?
 
For example:
<pre>{{#invoke:WikidataIB |getQualifierValue |qid=Q104417487 |P4032 |pval="Unknown"|qual=P585 |name=xyz |fetchwikidata=ALL |onlysourced=no |noicon=true |df=YMD}}
</pre>
Should return the date "29 October 2022" from the item [[wikidata:Q104417487]]. [[User:Evolution and evolvability|T.Shafee(Evo<small>&#38;</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 11:36, 2 November 2022 (UTC)