Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -728,9 +728,9 @@ |
729 | 729 | |
730 | 730 | // Get fancy redirect arrow and link HTML |
731 | 731 | protected function getRedirectHtml( $text ) { |
732 | | - $rTarget = $this->article->followRedirectText( $text ); |
733 | | - if ( $rTarget ) { |
734 | | - return $this->article->viewRedirect( array( $rTarget ) ); |
| 732 | + $rTargets = Title::newFromRedirectArray( $text ); |
| 733 | + if ( $rTargets ) { |
| 734 | + return $this->article->viewRedirect( $rTargets ); |
735 | 735 | } |
736 | 736 | return ''; |
737 | 737 | } |