Index: trunk/phase3/includes/job/DoubleRedirectJob.php |
— | — | @@ -125,10 +125,10 @@ |
126 | 126 | global $wgUser; |
127 | 127 | $oldUser = $wgUser; |
128 | 128 | $wgUser = $this->getUser(); |
129 | | - $article = new Article( $this->title ); |
| 129 | + $article = WikiPage::factory( $this->title ); |
130 | 130 | $reason = wfMsgForContent( 'double-redirect-fixed-' . $this->reason, |
131 | 131 | $this->redirTitle->getPrefixedText(), $newTitle->getPrefixedText() ); |
132 | | - $article->doEdit( $newText, $reason, EDIT_UPDATE | EDIT_SUPPRESS_RC ); |
| 132 | + $article->doEdit( $newText, $reason, EDIT_UPDATE | EDIT_SUPPRESS_RC, false, $this->getUser() ); |
133 | 133 | $wgUser = $oldUser; |
134 | 134 | |
135 | 135 | return true; |