Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | private $watch = false; |
65 | 65 | |
66 | 66 | function __construct( $oldTitle, $newTitle ) { |
67 | | - global $wgRequest; |
| 67 | + global $wgRequest, $wgUser; |
68 | 68 | $target = isset($par) ? $par : $wgRequest->getVal( 'target' ); |
69 | 69 | $this->oldTitle = $oldTitle; |
70 | 70 | $this->newTitle = $newTitle; |