Extension:MappingStatus

What can this extension do?
MappingStatus is a MediaWiki extension for Openstreetmap. With it being installed, you can use the tag to add Openstreetmap maps on wiki pages. An editing GUI is integrated.

To help organizing mapping, users can mark areas on the map and declare how well that region is mapped already.

The extension is tested in Firefox 3.5.9, IE8, Opera 10.10, and Midori 0.1.9 (using libwebkit-1.0-2). It is programmed mostly in conservative Javascript and uses OpenLayers, the rest is PHP. If you visit the wiki without javascript being enabled, you see text areas containing the map code, which is reasonably readable and in fact usable if sensible labels were assigned. The edit link works too, but of course you won't see the map but you have to edit the code.

Usage
Add  somewhere in your wiki page. A map will show up. Click Edit and select the polygon drawing tool in the right upper corner of the map. Draw a polygon by clicking into the map and finish it by double-clicking. Now select the hand tool and click onto the polygon. A window will show up that allows you to adjust the status symbols, the label and to specify an article to be opened when the polygon is clicked. You can proceed adding further polygons.

When finished, click Save. Now your article contains a map with regions marked, and when you hover these regions, the mapping status is displayed. You can add multiple maps to one wiki page, just make sure you have distinct IDs. IDs must be integers.

Some things can't be set with the GUI currently and must be done by hand:


 * to adapt which symbols are displayed, add a line like.
 * you can choose between Mapnik, Osmarender and Opencyclemap layers by adding one of:
 * you can specify the size of the map in pixel, e.g.
 * you can specify the size of the map in pixel, e.g.
 * you can specify the size of the map in pixel, e.g.
 * you can specify the size of the map in pixel, e.g.

Download instructions

 * Go to and download 'mappingstatus.zip'.

Installation

 * unzip 'mappingstatus.zip'
 * upload the 'mappingstatus' folder into the 'extensions' folder of your mediawiki installation
 * add this line to LocalSettings.php: