Module:WikidataIB/sandbox1: Difference between revisions

Content deleted Content added
Update to match changes to parent module
Line 640:
end -- test if article title exists as redirect on current Wiki
else
-- no sitelink and no label, so return whatever was returned from labelOrIdnothing for now
-- add tracking category [[Category:Articles with missing Wikidata information]]
disp = i18n.missinginfocat
end
else
Line 672:
for kr, vr in pairs(claim.references) do
local ref = mw.wikibase.renderSnaks(vr.snaks)
if not ref:find("WikipediaWiki") then
return true
end
Line 2,623:
-- has the qid of a Wikidata entity passed as the first unnamed parameter or as |qid=
-- If there is a sitelink to an article on the local Wiki, it returns the sitelink as plain text.
-- If there is no sitelink or qid supplied, it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: none