Anonymous user
Module:Coordinates: Difference between revisions
Fulfill edit request, remove superfluous function call
(import coordinates from WikiData, per discussion) |
(Fulfill edit request, remove superfluous function call) |
||
Line 580:
end
elseif pFrame.args[1] == nil and mw.wikibase.getEntityObject() ~= nil then
local entity =
if entity and entity.claims and entity.claims.P625 and
entity.claims.P625[1].mainsnak.snaktype == "value" then
Line 624:
if mw.wikibase and current_page.namespace == 0 then
local wikidata_cat
if snaktype == 'value' then
wikidata_cat = '[[Category:Coordinates on Wikidata]]' -- coordinates exist both here and on Wikidata, and can be compared
|