r81789 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81788‎ | r81789 | r81790 >
Date:22:40, 8 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Remove unused $wgContLang globals after refactoring at r81456 and r81456
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -124,7 +124,7 @@
125125 * @private
126126 */
127127 function getContent( $def_text = '' ) {
128 - global $wgOut, $wgRequest, $wgParser, $wgContLang;
 128+ global $wgOut, $wgRequest, $wgParser;
129129
130130 wfProfileIn( __METHOD__ );
131131 # Get variables from query string :P
Index: trunk/phase3/includes/HistoryPage.php
@@ -380,7 +380,7 @@
381381 * @return string HTML output
382382 */
383383 function getStartBody() {
384 - global $wgScript, $wgUser, $wgOut, $wgContLang;
 384+ global $wgScript, $wgUser, $wgOut;
385385 $this->lastRow = false;
386386 $this->counter = 1;
387387 $this->oldIdChecked = 0;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81456* Use wfMessage() instead of wfMsgGetKey() and wfEmptyMsg()...ialex15:29, 3 February 2011

Status & tagging log