r60249 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60248‎ | r60249 | r60250 >
Date:03:21, 21 December 2009
Author:aaron
Status:ok
Tags:
Comment:
* Change history message for null-rollback auto-reviews (bug 21839)
* Tweaked userCanView() comment
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -741,7 +741,8 @@
742742 return true;
743743 }
744744 # See if there is a stable version. Also, see if, given the page
745 - # config and URL params, the page can be overriden.
 745+ # config and URL params, the page can be overriden. The later
 746+ # only applies on page views of $title.
746747 $flaggedArticle = FlaggedArticle::getTitleInstance( $title );
747748 if( !empty($wgTitle) && $wgTitle->equals( $title ) ) {
748749 $view = FlaggedArticleView::singleton();
@@ -917,7 +918,7 @@
918919 $frev = FlaggedRevision::newFromTitle( $title, $baseId );
919920 # Was the edit that we tried to revert to reviewed?
920921 if( $frev ) {
921 - FlaggedRevs::autoReviewEdit( $article, $user, $rev->getText(), $rev, $flags, false );
 922+ FlaggedRevs::autoReviewEdit( $article, $user, $rev->getText(), $rev, $flags );
922923 FlaggedRevs::markRevisionPatrolled( $rev ); // Make sure it is now marked patrolled...
923924 }
924925 }

Status & tagging log