Extension:Yandex Maps
From MediaWiki.org
|
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
- Unzip file to "/extensions" directory: Link to download Yandex Map extension
- 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. -->
