https://bugzilla.wikimedia.org/show_bug.cgi?id=44587

--- Comment #7 from Krenair <kren...@gmail.com> ---
Actually, I think we can do patroller autopromotion with something like this
(based on FlaggedRevsSetup::setAutopromoteConfig):

$wgAutopromoteOnce['onEdit']['patroller'] = array(
    '&',
    array( APCOND_AGE, 60*86400 ),
    array( APCOND_EDITCOUNT, 250, 86400 ),
    array( APCOND_FR_EDITSUMMARYCOUNT, 50 ),
    array( APCOND_FR_UNIQUEPAGECOUNT, 14 ),
    array( APCOND_FR_EDITSPACING, 3, 15 ),
    array( '|', // OR
        array( APCOND_FR_CONTENTEDITCOUNT, 300, 86400 ),
        array( APCOND_FR_CHECKEDEDITCOUNT, 200, 86400 )
    ),
    array( APCOND_FR_NEVERBOCKED ),
    array( APCOND_FR_MAXREVERTEDEDITRATIO, 0.03 ),
    array( APCOND_FR_USERPAGEBYTES, 0 )
);

Autopromotion to autoreview, inclusion of namespaces and addition of rights
should be easy.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to