Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -865,6 +865,10 @@ |
866 | 866 | # Check if user edited enough content pages |
867 | 867 | $totalCheckedEditsNeeded = false; |
868 | 868 | if( $wgFlaggedRevsAutopromote['totalContentEdits'] > $p['totalContentEdits'] ) { |
| 869 | + if( !$wgFlaggedRevsAutopromote['totalCheckedEdits'] ) { |
| 870 | + wfProfileOut( __METHOD__ ); |
| 871 | + return true; |
| 872 | + } |
869 | 873 | $totalCheckedEditsNeeded = true; |
870 | 874 | } |
871 | 875 | # Check if user edited enough unique pages |