r46425 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46424‎ | r46425 | r46426 >
Date:04:51, 28 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Hide 'autoreview' from userlist
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -469,13 +469,14 @@
470470 }
471471 # Grant implicit autoreview rights to some users.
472472 # This will include older users that choose not to be Editors.
473 - global $wgAutopromote, $wgFlaggedRevsAutopromote;
 473+ global $wgAutopromote, $wgFlaggedRevsAutopromote, $wgImplicitGroups;
474474 $wgAutopromote['autoreview'] = array( '&',
475475 array( APCOND_EDITCOUNT, max($wgFlaggedRevsAutopromote['edits'],3000) ),
476476 array( APCOND_AGE, max($wgFlaggedRevsAutopromote['days'],365)*24*3600 ),
477477 array( APCOND_AGE_FROM_EDIT, max($wgFlaggedRevsAutopromote['days'],365)*24*3600 ),
478478 array( APCOND_EMAILCONFIRMED, $wgFlaggedRevsAutopromote['email'] )
479479 );
 480+ $wgImplicitGroups[] = 'autoreview';
480481 }
481482
482483 /*

Status & tagging log