Extension:Yandex Maps

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Yandex Maps

Release status: beta

Description An easy way to place Yandex Maps on wiki page.
Author(s) Yauhen Lazurkin (Yauhentalk)
MediaWiki 1.6
License No license specified
Download http://zhelaz.at.tut.by/dev/mediawiki/ymap.zip
Example http://ostisbelarus.sourceforge.net/index.php/YMap_manual
Check usage and version matrix

Contents

What can this extension do? [edit]

Usage [edit]

You need to get API-key for Yandex Maps first by the link below: | Form for getting API-key

Now you can place maps on wiki-pages using tag <ymap>:

<ymap>
  <init>
    <key>Place yout API-key here</key>
    <width>Set width of the map</width>
    <height>Set height of the map</height>
  </init>
  ...
</ymap>

Download instructions [edit]

Please cut and paste the code found below and place it in $IP/extensions/ExtensionName/ExtensionName.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation [edit]

  1. Unzip file to "/extensions" directory: Link to download Yandex Map extension
  2. To install this extension, add the following to LocalSettings.php:
#add configuration parameters here
#setup user rights here
require_once("extensions/ymap/yandexmap.php");
$wgUseTidy = true;

Configuration parameters [edit]

User rights [edit]

Code [edit]

  <!-- put your code here - note that the ending ?> tag should not be present, as it's not needed and is likely to cause only problems. This has been since MediaWiki 1.11 and newer releases. -->

See also [edit]