Module:Coordinates: Difference between revisions

Jump to navigation Jump to search
Limit error checking to main (article) space
m (1 revision imported)
(Limit error checking to main (article) space)
Line 477: Line 477:
local ret = specPrinter(args, result)
local ret = specPrinter(args, result)
if #errors > 0 then
if #errors > 0 then
ret = ret .. ' ' .. errorPrinter(errors) .. '[[Category:Pages with malformed coordinate tags]]'
if mw.title.getCurrentTitle().namespace == 0 then
ret = ret .. ' ' .. errorPrinter(errors) .. '[[Category:Pages with malformed coordinate tags]]'
end
end
end
return ret, backward
return ret, backward
Anonymous user

Navigation menu