Jump to content

Module talk:WikidataIB

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Riteze (talk | contribs) at 11:55, 4 March 2025 (Option to get 'raw value'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Possible bug

I think {{wdib|P38|qid=Q30|sn=true|noicon=true|osd=no|fwd=ALL}} should output "US dollar", not "United States dollar" (as it does now), because sn=true was given. Is it a bug? Janhrach (talk) 08:20, 8 July 2023 (UTC)[reply]

@Janhrach: Fixed with this edit in Module:WikidataIB/sandbox. In the meantime, use |shortname= instead of |sn=. LennardHofmann (talk) 15:33, 9 July 2023 (UTC)[reply]
@LennardHofmann: Thank you. Janhrach (talk) 15:50, 9 July 2023 (UTC)[reply]

Edit request on 10 July 2023

Please copy the contents of the sandbox to the main module. LennardHofmann probably forgot to make an edit request, so I'm making it instead. Janhrach (talk) 11:59, 10 July 2023 (UTC)[reply]

 Done * Pppery * it has begun... 18:09, 10 July 2023 (UTC)[reply]

Caption fails to appear from either the Media legend in Wikidata or if set locally with |caption=

Please see:

  • Kaliflower Commune (oldid=1142661983), in which this version fails to display the Media legend from Wikidata.
  • Kaliflower Commune (oldid=1173522586), in which this version fails to display the local value for |caption=Commune residents in 1972

Peaceray (talk) 00:27, 3 September 2023 (UTC)[reply]

@Peaceray: This question should probably be asked at Template talk:Infobox organization/Wikidata, not here. Janhrach (talk) 06:53, 3 September 2023 (UTC)[reply]

Multiple qualifiers

Is there a way to filter a property with many values by two or more qualifiers? Serresmap (talk) 00:18, 10 April 2024 (UTC)[reply]

@Serresmap: I don't think so. I recommend using Module:Wd instead, e.g. {{#invoke:wd|properties|Q55|P7295|P518=Q762943|P1365=Q11184}}. LennardHofmann (talk) 12:55, 12 April 2024 (UTC)[reply]

Option to get 'raw value'

I couldn't find an option to get raw value of a wikidata item using this module, similar to what we get from {{wikidata|property|raw|...}}.

This makes it difficult to be used in infoboxes which require some wikidata property of a wikidata item which in turn is specified by some property of the given |qid=.

An example requirement is |mla= of {{Infobox Indian Constituency (wd)}} in order to comply with this RFC and this list of RFCs which make it mandatory to use {{Wdib}} with |osd=true in infoboxes. Riteze 08:19, 4 March 2025 (UTC)[reply]