GeoHack

GeoHack is a modified version of map sources from Egil Kvaleberg's gis extension. It is designed to do simple HTML replacements of a template on Wikipedia and serve it to the client. It is used by Wikipedia to provide links to various mapping services, when a user clicks on a link with geographical coordinates.

Different layout designs for GeoHack are listed on w:Template:GeoTemplate/sandbox.

language
The requested language version (e.g. &amp;lt;code>language.wikipedia.org&amp;lt;/code>), falls back to English if the template page does not exist.

pagename
The full title of the referring article. If not supplied, GeoHack will attempt to read the values from the HTTP referer.

params
The D_M_S_N_D_M_S_E, D_M_N_D_M_E, D_N_D_E, or D;D where D is degrees, M is minutes, S is seconds, and NS/EWO are the directions


 * TODO Document me: boxed range syntax D_N_D_E_to_D_N_D_E
 * Res