r46386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46385‎ | r46386 | r46387 >
Date:20:57, 27 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Redirection fix for "pristine" setting
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php
@@ -373,7 +373,7 @@
374374 # Take the user to the diff to make sure an outdated version isn't
375375 # being set at the default. This is really an issue with configs
376376 # that only let certain pages be reviewed.
377 - if( $this->select == FLAGGED_VIS_NORMAL ) {
 377+ if( $this->select != FLAGGED_VIS_LATEST ) {
378378 $frev = FlaggedRevision::newFromStable( $this->page, FR_MASTER );
379379 if( $frev && $frev->getRevId() != $latest ) {
380380 $query = "oldid={$frev->getRevId()}&diff=cur&diffonly=0"; // override diff-only

Status & tagging log