r48534 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48533‎ | r48534 | r48535 >
Date:20:40, 18 March 2009
Author:demon
Status:ok
Tags:
Comment:
Remove useless variable (and expensive running of wfLoadExtensionMessages()).
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -32,12 +32,8 @@
3333 $wgExtensionFunctions[] = "pr_main";
3434 function pr_main() {
3535 global $wgParser;
36 -
3736 $wgParser->setHook( "pagelist", "pr_renderPageList" );
3837 $wgParser->setHook( "indexref", "pr_renderIndexTag" );
39 - wfLoadExtensionMessages( 'ProofreadPage' );
40 - $index_namespace = preg_quote( wfMsgForContent( 'proofreadpage_index_namespace' ), '/' );
41 -
4238 }
4339
4440

Status & tagging log