(bug 21540) Missing global
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 16 Nov 2009 21:26:18 +0000 (21:26 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 16 Nov 2009 21:26:18 +0000 (21:26 +0000)
includes/specials/SpecialMovepage.php

index 596b62b..17066ca 100644 (file)
@@ -63,7 +63,7 @@ class MovePageForm {
        private $watch = false;
 
        function __construct( $oldTitle, $newTitle ) {
-               global $wgRequest;
+               global $wgRequest, $wgUser;
                $target = isset($par) ? $par : $wgRequest->getVal( 'target' );
                $this->oldTitle = $oldTitle;
                $this->newTitle = $newTitle;