Module:Coordinates: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (1 revision imported) |
Infobox>Jonesey95 (Update Geohack link per talk page request.) |
||
Line 23: | Line 23: | ||
local current_page = mw.title.getCurrentTitle() |
local current_page = mw.title.getCurrentTitle() |
||
local page_name = mw.uri.encode( current_page.prefixedText, 'WIKI' ); |
local page_name = mw.uri.encode( current_page.prefixedText, 'WIKI' ); |
||
local coord_link = '// |
local coord_link = '//geohack.toolforge.org/geohack.php?pagename=' .. page_name .. '¶ms=' |
||
--[[ Helper function, replacement for {{coord/display/title}} ]] |
--[[ Helper function, replacement for {{coord/display/title}} ]] |