Module talk:Infobox Wikidata

Latest comment: 2 years ago by ExE Boss in topic Module broken as of April 2021

Testcases edit

Texte de l’en-tête Texte de l’en-tête
{{Infobox Wikidata|Q1}}
type of item not supported
{{Infobox Wikidata|Q5}}
type of item not supported
{{Infobox Wikidata|Q42}}

Douglas Adams

Life data
parturition

Cambridge
death

Santa Barbara
see module codeedit item
{{Infobox Wikidata|Q205309}}
{{Infobox Wikidata|Q1502271}}
type of item not supported

This module causes errors edit

This module causes errors on pages like Wikidata:Wiki-wetenschappers/Vrije_Universiteit_Amsterdam, Template:Infobox_Human, Talk:Q7071155 and many others. Can someone fix? --Jarekt (talk) 12:22, 22 May 2019 (UTC)Reply

Worked around, but it looks like a Scribunto or core Lua bug that a function doesn’t return nil if control reaches the end of the function body without any return statements. —Tacsipacsi (talk) 21:40, 24 May 2019 (UTC)Reply

Module broken as of April 2021 edit

As of now, this module appears to be broken and causing errors in the documentation of Template:Infobox. The related Template:Infobox user is also not working as can be seen at User:Ayank1420. Presumably it did work when that page was created in 28 September 2015. Any ideas what went wrong? Daask (talk) 19:44, 29 April 2021 (UTC)Reply

  Notified participants of WikiProject Templates anyone wants to have a look at this issue? PAC2 (talk) 18:40, 30 April 2021 (UTC)Reply

This module doesn't provide any functionalities as other wikimedia projects do. It get information from QID and then display which tries to get value from variable in another local function (as you can see at line 161, It tries to get value from class). My thoughts that might be somewhere which this module required from that use Module:No globals. We could fix this by remove a line required No Global. Why, by the way, this module named Infobox? I would suggest to move it to something like Module:wikidata infobox and replace it with en:Module:Infobox instead. Other template invoked this module might think its like in other projects but it isn't. Disclaimer: I might be wrong, I don't know what it like when it didn't broken nor what the creator expects to work. —Patsagorn Y? 03:17, 1 May 2021 (UTC)Reply
@PAC2, Patsagorn Y.: I’ve moved this template and module to Template:Infobox Wikidata and Module:Infobox Wikidata respectively and replaced Template:Infobox and Module:Infobox with Template:Infobox (Q5626735) and Module:Infobox (Q13107716) respectively.
I also intend to finish copying Template:Wikidata Infobox (Q47517487) to {{Wikidata Infobox}}. — ExE Boss (talk) 23:20, 26 August 2021 (UTC)Reply
Return to "Infobox Wikidata" page.