Module:Coordinates: Difference between revisions

Content deleted Content added
self-rv: Johnuniq wanted to remove namespace test for both category and error output. Also looks like he explicitly removed a bunch whitespace.
Update Geohack link per talk page request.
Line 23:
local current_page = mw.title.getCurrentTitle()
local page_name = mw.uri.encode( current_page.prefixedText, 'WIKI' );
local coord_link = '//toolsgeohack.wmflabstoolforge.org/geohack/geohack.php?pagename=' .. page_name .. '&params='
 
--[[ Helper function, replacement for {{coord/display/title}} ]]