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 (experimental)

Contents

[edit] What can this extension do?

[edit] Usage

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>

[edit] Download instructions

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.

[edit] Installation

  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;

[edit] Configuration parameters

[edit] User rights

[edit] Code

  <!-- 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. -->

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox