Module:Infobox mapframe: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Tag: Reverted
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