Extension:Mapsources

From MediaWiki.org
Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Mapsources

Release status: beta

Implementation Special page
Description The Mapsources extension tries to incorporate Toolserver's geohack capabilities into MediaWiki.
Author(s) Egil Kvaleberg, Magnus Manske, Tim Landscheidt (Tim.landscheidtTalk)
Last Version 0.1 (2010-02-26)
MediaWiki 1.16svn
PHP 5.2.12
License GPL 3
Download git

check usage (experimental)

Contents

[edit] What can this extension do?

The Mapsources extension tries to incorporate Toolserver's geohack capabilities into MediaWiki. The objectives are to:

Intermediate term objective is to:

[edit] 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 ("{{{scale}}}") as in other MediaWiki templates.

[edit] Download instructions

Download the repository with:

git clone http://www.tim-landscheidt.de/git/Mapsources

and copy the code to $IP/extensions/Mapsources/.

[edit] Installation

To install this extension, add the following to LocalSettings.php:

require_once ("$IP/extensions/Mapsources/Mapsources.php");

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

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Toolbox