Module:Infobox mapframe: Difference between revisions

Jump to navigation Jump to search
Undo revision 11601 by Taylor (talk)
No edit summary
Tag: Reverted
(Undo revision 11601 by Taylor (talk))
Tag: Undo
 
Line 113: Line 113:
if config.coord then
if config.coord then
useWikidata = config.wikidata and true or false
useWikidata = config.wikidata and true or false
end
-- Require wikidata item, or specified coords
local wikidataId = config.id or mw.wikibase.getEntityIdForCurrentPage()
if not(wikidataId) and not(config.coord) then
return ''
end
end


Navigation menu