Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -741,7 +741,8 @@ |
742 | 742 | return true; |
743 | 743 | } |
744 | 744 | # 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. |
746 | 747 | $flaggedArticle = FlaggedArticle::getTitleInstance( $title ); |
747 | 748 | if( !empty($wgTitle) && $wgTitle->equals( $title ) ) { |
748 | 749 | $view = FlaggedArticleView::singleton(); |
— | — | @@ -917,7 +918,7 @@ |
918 | 919 | $frev = FlaggedRevision::newFromTitle( $title, $baseId ); |
919 | 920 | # Was the edit that we tried to revert to reviewed? |
920 | 921 | if( $frev ) { |
921 | | - FlaggedRevs::autoReviewEdit( $article, $user, $rev->getText(), $rev, $flags, false ); |
| 922 | + FlaggedRevs::autoReviewEdit( $article, $user, $rev->getText(), $rev, $flags ); |
922 | 923 | FlaggedRevs::markRevisionPatrolled( $rev ); // Make sure it is now marked patrolled... |
923 | 924 | } |
924 | 925 | } |