Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -1203,6 +1203,10 @@ |
1204 | 1204 | * $auto is here for revisions checked off to be reviewed. Auto-review |
1205 | 1205 | * triggers on edit, but we don't want it to count as just automatic. |
1206 | 1206 | * This also makes it so the user's name shows up in the page history. |
| 1207 | + * |
| 1208 | + * If $flags is given, then they will be the review tags. If not, the one |
| 1209 | + * from the stable version will be used or minimal tags if that's not possible. |
| 1210 | + * If no appropriate tags can be found, then the review will abort. |
1207 | 1211 | */ |
1208 | 1212 | public static function autoReviewEdit( $article, $user, $text, $rev, $flags=null, $auto=true ) { |
1209 | 1213 | global $wgMemc; |