r81400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81399‎ | r81400 | r81401 >
Date:16:06, 2 February 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed wfLoadExtensionMessages() calls
Modified paths:
  • /trunk/extensions/Watchers/Watchers.php (modified) (history)
  • /trunk/extensions/Watchers/Watchers_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Watchers/Watchers_body.php
@@ -24,8 +24,6 @@
2525 function execute( $par ) {
2626 global $wgOut, $wgRequest, $wgUser, $wgWatchersLimit;
2727
28 - wfLoadExtensionMessages( 'Watchers' );
29 -
3028 $this->setHeaders();
3129
3230 $page = $wgRequest->getVal( 'page', $par );
Index: trunk/extensions/Watchers/Watchers.php
@@ -55,8 +55,6 @@
5656 return true;
5757 }
5858
59 - wfLoadExtensionMessages( 'Watchers' );
60 -
6159 echo '<li id="t-watchers"><a href="' ;
6260 $nt = SpecialPage::getTitleFor( 'Watchers' );
6361 echo $nt->escapeLocalURL( 'page=' . $wgTitle->getPrefixedDBkey() );

Status & tagging log