]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/blobdiff - wrmap.php
Now using i18n and translation.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / wrmap.php
index 4df008f7213b39f06f291c96b6a70207da8592d4..29da3e1dd57481d0822c1efa80ddb5792b7e8e19 100644 (file)
--- a/wrmap.php
+++ b/wrmap.php
@@ -120,6 +120,8 @@ Definition
                * <haltestelle>
                * <parkplatz>
                * <achtung>
+               * <foto>
+               * <verleih>
                * <punkt>
                * <rodelbahn>
                * <alternative>
@@ -129,7 +131,7 @@ Definition
                * <linie>
        * The order may be used by the renderer to determine in which order the 
          elements should be drawn.
-* <gasthaus>, <haltestelle>, <parkplatz>, <achtung> and <punkt> define points
+* <gasthaus>, <haltestelle>, <parkplatz>, <achtung>, <foto>, <verleih> and <punkt> define points
        * The elements may have the following attributes:
                * name (string): defines the name (not the label) of the element
                * wiki (string): name of a MediaWiki page the point refers to
@@ -160,7 +162,7 @@ the wrmap element.
 
 $wgExtensionCredits['parserhook'][] = array(
        'name' => 'Winterrodeln Map',
-       'version' => '3.0.5',
+       'version' => '3.3.0',
        'author' =>'Philipp Spitzer', 
        'url' => 'http://www.winterrodeln.org/trac/wiki/WrMap', 
        'description' => 'This extension creates a map using OpenLayers to show sledrun details and sledrun overviews.'
@@ -195,8 +197,7 @@ $wgResourceModules['ext.wrmap'] = array(
 
 $wgAutoloadClasses['WrMap'] = dirname(__FILE__) . '/wrmap.body.php';
 $wgAutoloadClasses['WrGMap'] = $wgAutoloadClasses['WrMap'];
-
-
+$wgMessagesDirs['wrmap'] = __DIR__ . '/i18n';
 $wgHooks['ParserFirstCallInit'][] = 'wrMapParserFirstCallInit';