Module:language-like: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 190: Line 190:
-- Otherwise, check the Wikidata item for a sitelink.
-- Otherwise, check the Wikidata item for a sitelink.
local item = self:getWikidataItem()
local item = self:getWikidataItem()
article = item and sitelink(item, project) or self:getCanonicalName() or false
article = self:getCanonicalName() or false --item and sitelink(item, project) or false
if article then
if article then
return "w:" .. article
return "w:" .. article

Navigation menu