Module:Infobox mapframe: Difference between revisions

somehow dropped two dimensions: versionitis
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 162: Line 162:
-- Require wikidata item, or specified coords
-- Require wikidata item, or specified coords
local wikidataId = config.id or mw.wikibase.getEntityIdForCurrentPage()
    local wikidataId = config.id or nil --[[mw.wikibase.getEntityIdForCurrentPage()]]
if not(wikidataId) and not(config.coord) then
if not(wikidataId) and not(config.coord) then
return ''
return ''