On Wed, Aug 25, 2010 at 4:36 PM, lampak <llampak(a)gmail.com> wrote:
Editors aren't. This is because they are
autopromoted in
ArticleSaveComplete hook instead of GetAutoPromoteGroups. What I'm
asking for is moving autoreview autopromotion to the same hook so both
groups would behave in the same way.
Oh, blech, FlaggedRevs reinvented the wheel and made up its own
autopromote system. At a glance, it looks like it's hardcoded to only
work for the editor group, so no, it can't be reused for other groups
without some refactoring. It should really be refactored to work for
all groups, but some of the checks are pretty expensive -- looks like
maybeMakeEditor() in FlaggedRevs.hooks.php can run several database
queries in some cases.