Open main menu

Extension:Yandex Maps

What can this extension do?Edit

UsageEdit

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 instructionsEdit

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.

InstallationEdit

  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 parametersEdit

User rightsEdit

CodeEdit

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