r46659 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46658‎ | r46659 | r46660 >
Date:21:25, 31 January 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* bug 17103 Special:Newpages/Special:Recentchanges should be localized on the "mark changes as patrolled" confirmation
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1798,8 +1798,8 @@
17991799 }
18001800
18011801 #It would be nice to see where the user had actually come from, but for now just guess
1802 - $returnto = $rc->getAttribute( 'rc_type' ) == RC_NEW ? 'Newpages' : 'Recentchanges';
1803 - $return = Title::makeTitle( NS_SPECIAL, $returnto );
 1802+ $returnto = $rc->getAttribute( 'rc_type' ) == RC_NEW ? 'newpages' : 'recentchanges';
 1803+ $return = SpecialPage::getTitleFor( $returnto );
18041804
18051805 $dbw = wfGetDB( DB_MASTER );
18061806 $errors = $rc->doMarkPatrolled();

Follow-up revisions

RevisionCommit summaryAuthorDate
r47607Tweak for bug 17103 (patch: Marcin Cieślak)nikerabbit10:41, 21 February 2009

Status & tagging log