Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
rm stray "
fix logic bug: tracking category for article namespace
Line 389:
function oscoord.oscoord(frame)
local output = '<span class="plainlinks nourlexpansion" style="white-space: nowrap">' .. oscoord.main(frame) .. '</span>'
if mw.title.getCurrentTitle().namespace ~== 0 then
output = output .. '[[Category:Articles with OS grid coordinates]]'
end