r84436 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84435‎ | r84436 | r84437 >
Date:01:41, 21 March 2011
Author:demon
Status:ok (Comments)
Tags:
Comment:
viewRedirect() expects an array now
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -730,7 +730,7 @@
731731 protected function getRedirectHtml( $text ) {
732732 $rTarget = $this->article->followRedirectText( $text );
733733 if ( $rTarget ) {
734 - return $this->article->viewRedirect( $rTarget );
 734+ return $this->article->viewRedirect( array( $rTarget ) );
735735 }
736736 return '';
737737 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r84437MFT r84436demon01:42, 21 March 2011

Comments

#Comment by Aaron Schulz (talk | contribs)   11:16, 21 March 2011

It seems to handle either though (in /trunk at least).

#Comment by 😂 (talk | contribs)   11:30, 21 March 2011

I was trying to solve a problem I was seeing in /var/log/mw/fatal.log, but this didn't fix it and I was too tired to look into it further.

Status & tagging log