Module talk:Wikidata2
Testing getSiteLink
{{#invoke:Wikidata2|getSiteLink|enwiki|qid=Q25169}}
→ The Hitchhiker's Guide to the Galaxy{{#invoke:Wikidata2|getSiteLink|dewiki|qid=Q25169}}
→ Per Anhalter durch die Galaxis (Romanreihe){{#invoke:Wikidata2|getSiteLink|{{BaseLang}}wiki|qid=Q25169}}
→ The Hitchhiker's Guide to the Galaxy{{#invoke:Wikidata2|baseLang}}
→ en{{BaseLang}}
→ en
also:
enwikivoyage
{{BaseLang}}wikivoyage
commonswiki
Where did this module come from?
Edit history claims that it was copied from enwiki, while enwiki edit history claims that it was copied from commons. --Jarekt (talk) 14:04, 12 November 2018 (UTC)
- @Jarekt: en:Module:Wikidata (which is different from Module:Wikidata here). Thanks. Mike Peel (talk) 14:20, 12 November 2018 (UTC)
- Mike Peel thanks for explanation. What is confusing is that the module is linked to en:Module:Wikidata2, which should be a copy of en:Module:Wikidata? --Jarekt (talk) 14:27, 12 November 2018 (UTC)
- Yup, it looks like en:Module:Wikidata2 is a duplicate. I think it's due to someone trying to copy {{Wikidata Infobox}} over to enwp... Thanks. Mike Peel (talk) 15:01, 12 November 2018 (UTC)
- BTW, I think Module:Wikidata is a fork of en:Module:Wd, but I'm not sure. Thanks. Mike Peel (talk) 15:03, 12 November 2018 (UTC)
- Mike Peel thanks for explanation. What is confusing is that the module is linked to en:Module:Wikidata2, which should be a copy of en:Module:Wikidata? --Jarekt (talk) 14:27, 12 November 2018 (UTC)
require('strict')
{{Edit protected}}
As per the new lua feature mentioned at m:Tech/News/2022/42, could require('Module:No globals')
be replaced with require('strict')
-- WOSlinker (talk) 17:21, 25 October 2022 (UTC)