r45433 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45432‎ | r45433 | r45434 >
Date:03:04, 6 January 2009
Author:aaron
Status:deferred
Tags:
Comment:
(bug 16894) Simplify URL after automatic flagging
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -1149,7 +1149,7 @@
11501150 $extraQuery .= "oldid={$frev->getRevId()}&diff=cur&diffonly=0"; // override diff-only
11511151 // ...otherwise, go to the current revision after completing an edit.
11521152 } else {
1153 - if( $frev ){
 1153+ if( $frev && $latest != $frev->getRevId() ) {
11541154 $extraQuery .= "stable=0";
11551155 if( !$wgUser->isAllowed('review') && $this->showStableByDefault() ) {
11561156 $extraQuery .= "&shownotice=1";

Status & tagging log