Content deleted Content added
sync sandbox |
use new geohack URL structure |
||
Line 362:
return html
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 = '[https://
if pagename ~= nil then▼
end▼
url = url..'params='..LL[3]..'_N_'
if LL[4] < 0 then
url = url..(-LL[4])..'_W'
else
url = url..LL[4]..'_E'
end
for i = restargs,#args do
end
if string.find(input,"region") == nil then
url = url..'_region:'..LL[1]
▲ end
▲ if pagename ~= nil then
▲ url = url..'?pagename='..pagename
end
url = url..' '..linktitle..']'
|