r52863 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52862‎ | r52863 | r52864 >
Date:21:40, 7 July 2009
Author:avar
Status:ok
Tags:
Comment:
Made this file conform to the MW coding style, it was a mix of tabs & 8 spaces
Modified paths:
  • /trunk/extensions/SlippyMap/SlippyMap.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SlippyMap/SlippyMap.php
@@ -52,12 +52,12 @@
5353 * Property: Extension credits
5454 */
5555 $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',
6262 );
6363
6464 $dir = dirname( __FILE__ ) . '/';
@@ -73,10 +73,9 @@
7474 $wgAutoloadClasses['WorldWind'] = $dir . 'SlippyMap.worldwind.php';
7575
7676 if ( defined( 'MW_SUPPORTS_PARSERFIRSTCALLINIT' ) ) {
77 - $wgHooks['ParserFirstCallInit'][] = 'SlippyMapHooks::onParserFirstCallInit';
 77+ $wgHooks['ParserFirstCallInit'][] = 'SlippyMapHooks::onParserFirstCallInit';
7878 } else {
79 - $wgExtensionFunctions[] = 'SlippyMapHooks::onParserFirstCallInit';
 79+ $wgExtensionFunctions[] = 'SlippyMapHooks::onParserFirstCallInit';
8080 }
8181
8282 $wgHooks['ParserAfterTidy'][] = 'SlippyMapHooks::wfSlippyMapParserAfterTidy';
83 -

Status & tagging log