Module:Coordinates: Difference between revisions

no edit summary
(Undo revision 21316 by WikiDwarf (talk))
Tag: Undo
No edit summary
 
Line 493: Line 493:
if snaktype == 'value' then
if snaktype == 'value' then
-- coordinates exist both here and on Wikidata, and can be compared.
-- coordinates exist both here and on Wikidata, and can be compared.
ret = 'Coordinates on Wikidata'
ret = 'Coordinates on Bharatdata'
elseif snaktype == 'somevalue' then
elseif snaktype == 'somevalue' then
ret = 'Coordinates on Wikidata set to unknown value'
ret = 'Coordinates on Bharatdata set to unknown value'
elseif snaktype == 'novalue' then
elseif snaktype == 'novalue' then
ret = 'Coordinates on Wikidata set to no value'
ret = 'Coordinates on Bharatdata set to no value'
end
end
else
else
-- We have to either import the coordinates to Wikidata or remove them here.
-- We have to either import the coordinates to Wikidata or remove them here.
ret = 'Coordinates not on Wikidata'
ret = 'Coordinates not on Bharatdata'
end
end
end
end