Extension:OpenLayers

MediaWiki extensions manual
OpenLayers
Release status: stable
Description Makes OpenLayers module available
Author(s) Paladox, Yaron Koren
Latest version 1.0.0 (2016-07-17)
MediaWiki 1.27+
PHP 5.4+
Database changes No
Composer mediawiki/open-layers
License GNU General Public License 2.0 or later
Download
Quarterly downloads 3 (Ranked 136th)
Translate the OpenLayers extension if it is available at translatewiki.net

The OpenLayers extension makes the OpenLayers module available.

Installation

  • Download and move the extracted OpenLayers folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/OpenLayers
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'OpenLayers' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.