Extension:Mapsources

What can this extension do?
The Mapsources extension tries to incorporate Toolserver's geohack capabilities into MediaWiki. The objectives are to:


 * Spread load and traffic from Toolserver's geohack over the Wikimedia server farm,
 * increase availability and decrease response time,
 * allow squids to cache anonymous users' queries,
 * allow mapsources template to be shown in the user's skin,
 * allow mapsources template to make use of parser functions and other goodies and
 * enable dump reusers to use coordinates without setting up a separate Toolserver.

Intermediate term objective is to:


 * Allow users to configure that they will be:
 * immediately redirected/redirected after a x second delay
 * to:
 * Mapservice A for coordinates in region CH,
 * Mapservice B for coordinates in region DE-HH,
 * Mapservice C for coordinates in region DE and
 * Mapservice D for all others.

Usage
Mapsources provides a special page Special:Mapsources similar to Special:Booksources. It uses parameters given (lat, lon, type, dim, pagename) to fill a template Template:Mapsources. Template:Mapsources is in structure similar to Template:GeoTemplate used by geohack with the exception that parameters are delimited by three curly brackets (" ") as in other MediaWiki templates.

Download instructions
Download the repository from GitHub and copy the code to.

Installation
To install this extension, add the following to :

Caveat: There are some input checks still missing that could lead to security vulnerabilities. Use at your own risk.