Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -88,12 +88,14 @@ |
89 | 89 | $wgFlaggedRevsWatch = true; |
90 | 90 | # Redirect users out to review changes since stable version on save? |
91 | 91 | $wgReviewChangesAfterEdit = true; |
92 | | -# Auto-review new pages and edits directly to the stable version by reviewers? |
| 92 | +# Auto-review edits directly to the stable version by reviewers? |
93 | 93 | # Depending on how often templates are edited and by whom, this can possibly |
94 | | -# Allow for vandalism to slip in :/ |
| 94 | +# allow for vandalism to slip in :/ |
95 | 95 | # Users should preview changes perhaps. This doesn't help much for section |
96 | 96 | # editing, so they may also want to review the page afterwards. |
97 | 97 | $wgFlaggedRevsAutoReview = true; |
| 98 | +# Auto-review new pages with the minimal level? |
| 99 | +$wgFlaggedRevsAutoReviewNew = false; |
98 | 100 | |
99 | 101 | # How long to cache stable versions? (seconds) |
100 | 102 | $wgFlaggedRevsExpire = 7 * 24 * 3600; |
— | — | @@ -912,9 +914,9 @@ |
913 | 915 | * When a new page is made by a reviwer, try to automatically review it. |
914 | 916 | */ |
915 | 917 | public static function maybeMakeNewPageReviewed( $article, $user, $text, $c, $flags, $a, $b, $flags, $rev ) { |
916 | | - global $wgFlaggedRevsAutoReview, $wgFlaggedRevs; |
| 918 | + global $wgFlaggedRevsAutoReviewNew, $wgFlaggedRevs; |
917 | 919 | |
918 | | - if( !$wgFlaggedRevsAutoReview || !$user->isAllowed( 'review' ) ) |
| 920 | + if( !$wgFlaggedRevsAutoReviewNew || !$user->isAllowed( 'review' ) ) |
919 | 921 | return true; |
920 | 922 | if( !$rev ) { |
921 | 923 | $wgFlaggedRevs->skipReviewDiff = true; // Don't jump to diff... |