Index: trunk/extensions/SlippyMap/SlippyMap.php |
— | — | @@ -52,12 +52,12 @@ |
53 | 53 | * Property: Extension credits |
54 | 54 | */ |
55 | 55 | $wgExtensionCredits['parserhook'][] = array( |
56 | | - 'path' => __FILE__, |
57 | | - 'name' => 'OpenStreetMap Slippy Map', |
58 | | - 'author' => array( '[http://harrywood.co.uk Harry Wood]', 'Jens Frank' ), |
59 | | - 'url' => 'http://wiki.openstreetmap.org/index.php/Slippy_Map_MediaWiki_Extension', |
60 | | - 'description' => 'Allows the use of the <slippymap> tag to display an OpenLayers slippy map. Maps are from [http://openstreetmap.org openstreetmap.org]', |
61 | | - 'descriptionmsg' => 'slippymap_desc', |
| 56 | + 'path' => __FILE__, |
| 57 | + 'name' => 'OpenStreetMap Slippy Map', |
| 58 | + 'author' => array( '[http://harrywood.co.uk Harry Wood]', 'Jens Frank' ), |
| 59 | + 'url' => 'http://wiki.openstreetmap.org/index.php/Slippy_Map_MediaWiki_Extension', |
| 60 | + 'description' => 'Allows the use of the <slippymap> tag to display an OpenLayers slippy map. Maps are from [http://openstreetmap.org openstreetmap.org]', |
| 61 | + 'descriptionmsg' => 'slippymap_desc', |
62 | 62 | ); |
63 | 63 | |
64 | 64 | $dir = dirname( __FILE__ ) . '/'; |
— | — | @@ -73,10 +73,9 @@ |
74 | 74 | $wgAutoloadClasses['WorldWind'] = $dir . 'SlippyMap.worldwind.php'; |
75 | 75 | |
76 | 76 | if ( defined( 'MW_SUPPORTS_PARSERFIRSTCALLINIT' ) ) { |
77 | | - $wgHooks['ParserFirstCallInit'][] = 'SlippyMapHooks::onParserFirstCallInit'; |
| 77 | + $wgHooks['ParserFirstCallInit'][] = 'SlippyMapHooks::onParserFirstCallInit'; |
78 | 78 | } else { |
79 | | - $wgExtensionFunctions[] = 'SlippyMapHooks::onParserFirstCallInit'; |
| 79 | + $wgExtensionFunctions[] = 'SlippyMapHooks::onParserFirstCallInit'; |
80 | 80 | } |
81 | 81 | |
82 | 82 | $wgHooks['ParserAfterTidy'][] = 'SlippyMapHooks::wfSlippyMapParserAfterTidy'; |
83 | | - |