r70020 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70019‎ | r70020 | r70021 >
Date:17:23, 27 July 2010
Author:siebrand
Status:ok
Tags:
Comment:
Partial revert of r69883. Broke page deletion because of missing global.

Nikerabbit suggested complete revert of r69883.
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2913,6 +2913,8 @@
29142914
29152915 // If the page has a history, insert a warning
29162916 if ( $hasHistory && !$confirm ) {
 2917+ global $wgLang;
 2918+
29172919 $skin = $wgUser->getSkin();
29182920 $revisions = $this->estimateRevisionCount();
29192921 //FIXME: lego

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69883Mark used $wgUser as global....platonides17:56, 25 July 2010

Status & tagging log