r37649 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37648‎ | r37649 | r37650 >
Date:15:05, 14 July 2008
Author:aaron
Status:old
Tags:
Comment:
Jump to diff with &diffonly=0
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -1099,7 +1099,7 @@
11001100 // If we are supposed to review after edit, and it was not autoreviewed,
11011101 // and the user can actually make new stable version, take us to the diff...
11021102 if( $wgReviewChangesAfterEdit && $frev && $latest > $frev->getRevId() && $frev->userCanSetFlags() ) {
1103 - $extraQuery .= "oldid={$frev->getRevId()}&diff=cur";
 1103+ $extraQuery .= "oldid={$frev->getRevId()}&diff=cur&diffonly=0"; // override diff-only
11041104 // ...otherwise, go to the current revision after completing an edit.
11051105 } else {
11061106 if( $frev ){

Status & tagging log