Module:language-like: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 192: Line 192:
article = self:getCanonicalName() or false --item and sitelink(item, project) or false
article = self:getCanonicalName() or false --item and sitelink(item, project) or false
if article then
if article then
return "w:" .. article
return article
end
end
-- If there's still no article, try the parent (if any).
-- If there's still no article, try the parent (if any).