Index: trunk/phase3/includes/Article.php |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | */ |
121 | 121 | public function insertRedirect() { |
122 | 122 | // recurse through to only get the final target |
123 | | - $retval = Title::newFromRedirectRecurse( $this->getContent() ); |
| 123 | + $retval = Title::newFromRedirectRecurse( $this->getRawText() ); |
124 | 124 | if ( !$retval ) { |
125 | 125 | return null; |
126 | 126 | } |
— | — | @@ -3598,7 +3598,7 @@ |
3599 | 3599 | $edit->pst = $this->preSaveTransform( $text, $user ); |
3600 | 3600 | $edit->popts = $this->getParserOptions( true ); |
3601 | 3601 | $edit->output = $wgParser->parse( $edit->pst, $this->mTitle, $edit->popts, true, true, $revid ); |
3602 | | - $edit->oldText = $this->getContent(); |
| 3602 | + $edit->oldText = $this->getRawText(); |
3603 | 3603 | |
3604 | 3604 | $this->mPreparedEdit = $edit; |
3605 | 3605 | |