r70513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70512‎ | r70513 | r70514 >
Date:18:09, 5 August 2010
Author:siebrand
Status:ok
Tags:
Comment:
Removed checks for MW_SUPPORTS_PARSERFIRSTCALLINIT introduced in MediaWiki 1.12.0 (released 2008-03-20) and wfLoadExtensionMessages call.
Modified paths:
  • /trunk/extensions/SlippyMap/SlippyMap.hook.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SlippyMap/SlippyMap.hook.php
@@ -28,9 +28,6 @@
2929 global $wgParser, $wgHooks, $wgOut, $wgScriptPath, $wgStyleVersion;
3030 global $wgSlippyMapJs;
3131
32 - // Load i18n
33 - self::loadMessages();
34 -
3532 // Initialize unique map id
3633 $this->mId = 0;
3734
@@ -120,10 +117,4 @@
121118
122119 return true;
123120 }
124 -
125 - private static function loadMessages() {
126 - wfProfileIn( __METHOD__ );
127 - wfLoadExtensionMessages( 'SlippyMap' );
128 - wfProfileOut( __METHOD__ );
129 - }
130121 }

Status & tagging log