Content deleted Content added
add argument for rawurl |
|||
Line 364:
end
-- https://geohack.toolforge.org/geohack.php?pagename=Mount_Whitney¶ms=36.578580925_N_118.29199495_W_type:mountain_region:US-CA_scale:100000_source:NGS
local url = '
if not args['rawurl'] then
end
url = url..'https://geohack.toolforge.org/geohack.php?'
if pagename ~= nil then
url = url..'pagename='..pagename..'&'
Line 383 ⟶ 387:
url = url .. "&title=" .. mw.uri.encode(namearg)
end
if not args['rawurl'] then
▲ url = url..' '..linktitle..']'
url = url..' '..linktitle..']'
end
return url
end
|