Module:Commons

From Wikipedia
Jump to: navigation, search

Documentation for this module may be created at Module:Commons/doc

local p = {}
 
function p.text( frame )
	if (mw.wikibase.getEntityObject()~= nil) then
		return "no"
	else
		return "This page on commons: " + mw.wikibase.getEntityObject().sitelinks.commonswiki.title
    end
end
 
return p