Module talk:WikidataIB

Latest comment: 3 days ago by Lucas Werkmeister in topic Edit request 14 November 2025

open and close quotation mark

edit

Many of Quotation marks have opening and closing, so both open and close quotation mark should be able to specified in /titleformats. FlatLanguage (talk) 18:54, 26 March 2025 (UTC)Reply

Please see MOS:CURLY. – Jonesey95 (talk) 01:57, 27 March 2025 (UTC)Reply
/titleformats is for i18n, so projects other than enwiki should be considered. --FlatLanguage (talk) 01:59, 27 March 2025 (UTC)Reply

getValueByRefSource

edit

There are no examples for getValueByRefSource... What I'm after is the population (P1082) of Toronto (Q172), as given by the 2021 Canadian Census (Q42317745). The data is there, and I'm trying to access it with the following:

{{#invoke:WikidataIB |getValueByRefSource |qid=Q172 | P1082 |match=Q42317745 |fwd=ALL}}

... which doesn't return anything, not even an error message. What am I missing here? Tompw (talk) 19:14, 11 November 2025 (UTC)Reply

Edit request 14 November 2025

edit

Description of suggested change: Please apply c:Special:Diff/1115600336 to fix the order of "mul" in the language fallback sequence for labels (should be after all explicit fallbacks, but just before the implicit fallback to "en").

Diff:

local fbtbl = mw.language.getFallbacksFor( args.lang ) table.insert( fbtbl, 1, args.lang ) table.insert( fbtbl, 1, "mul" )
+
local fbtbl = mw.language.getFallbacksFor( args.lang, mw.language.FALLBACK_STRICT ) table.insert( fbtbl, 1, args.lang ) table.insert( fbtbl, "mul" ) table.insert( fbtbl, "en" )

Lucas Werkmeister (talk) 19:59, 14 November 2025 (UTC)Reply