r59148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59147‎ | r59148 | r59149 >
Date:21:26, 16 November 2009
Author:catrope
Status:ok
Tags:
Comment:
(bug 21540) Missing global
Modified paths:
  • /trunk/phase3/includes/specials/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMovepage.php
@@ -63,7 +63,7 @@
6464 private $watch = false;
6565
6666 function __construct( $oldTitle, $newTitle ) {
67 - global $wgRequest;
 67+ global $wgRequest, $wgUser;
6868 $target = isset($par) ? $par : $wgRequest->getVal( 'target' );
6969 $this->oldTitle = $oldTitle;
7070 $this->newTitle = $newTitle;

Status & tagging log