Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -203,10 +203,9 @@ |
204 | 204 | 'spacing' => 3, # spacing of edit intervals |
205 | 205 | 'benchmarks' => 15, # how many edit intervals are needed? |
206 | 206 | 'recentContentEdits' => 5, # $wgContentNamespaces edits in recent changes |
207 | | - // Either totalContentEdits reqs OR totalCheckedEdits/totalReviewedEdits requirements needed |
| 207 | + // Either totalContentEdits reqs OR totalCheckedEdits requirements needed |
208 | 208 | 'totalContentEdits' => 300, # $wgContentNamespaces edits OR... |
209 | | - 'totalCheckedEdits' => 0, # ...Edits before the stable version of pages AND... |
210 | | - 'totalReviewedEdits' => 0, # ...Edits that were specifically sighted |
| 209 | + 'totalCheckedEdits' => 0, # ...Edits before the stable version of pages |
211 | 210 | 'uniqueContentPages' => 12, # $wgContentNamespaces unique pages edited |
212 | 211 | 'editComments' => 50, # how many edit comments used? |
213 | 212 | 'email' => false, # user must be emailconfirmed? |
Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php |
— | — | @@ -656,16 +656,6 @@ |
657 | 657 | } |
658 | 658 | # Update link tracking. This will trigger our hook to add stable links too... |
659 | 659 | $u->doUpdate(); |
660 | | - |
661 | | - # Update user stats if this rev was not flagged |
662 | | - if( !$oldfrev && $rev->getRawUser() ) { |
663 | | - global $wgFlaggedRevsAutopromote; |
664 | | - $p = FlaggedRevs::getUserParams( $rev->getRawUser() ); |
665 | | - $p['reviewedEdits'] = isset($p['reviewedEdits']) ? $p['reviewedEdits'] : 0; |
666 | | - $p['reviewedEdits']++; |
667 | | - if( $wgFlaggedRevsAutopromote['totalReviewedEdits'] >= $p['reviewedEdits'] ) |
668 | | - FlaggedRevs::saveUserParams( $rev->getRawUser(), $p ); |
669 | | - } |
670 | 660 | |
671 | 661 | $dbw->commit(); |
672 | 662 | # Purge cache/squids for this page and any page that uses it |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -865,11 +865,6 @@ |
866 | 866 | # Check if user edited enough content pages |
867 | 867 | $totalCheckedEditsNeeded = false; |
868 | 868 | if( $wgFlaggedRevsAutopromote['totalContentEdits'] > $p['totalContentEdits'] ) { |
869 | | - # Check if the user has enough sighted edits |
870 | | - if( $wgFlaggedRevsAutopromote['totalReviewedEdits'] > $p['reviewedEdits'] ) { |
871 | | - wfProfileOut( __METHOD__ ); |
872 | | - return true; |
873 | | - } |
874 | 869 | $totalCheckedEditsNeeded = true; |
875 | 870 | } |
876 | 871 | # Check if user edited enough unique pages |