Page MenuHomePhabricator

Enable FlaggedRevs extension on ckb.wikipedia
Closed, ResolvedPublic

Description

Hello. Please enable FlaggedRevs extension on ckb.wikipedia.
Extension settings (per community consensus page):

elseif ( $wgDBname == 'ckbwiki') {

  1. Namespaces

$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_PROJECT, NS_HELP, NS_TEMPLATE, NS_CATEGORY, NS_FILE, 100, 102, 828 );

  1. Show only on a per-page basis

$wgFlaggedRevsOverride = false;

  1. We have only one tag with one level

$wgFlaggedRevTags = array(

		'status' => array( 'levels' => 1, 'quality' => 2, 'pristine' => 3 ),

);

  1. Restrict autoconfirmed to flagging semi-protected

$wgFlagRestrictions = array(

		'status' => array( 'review' => 1, 'autoreview' => 1 ),

);

  1. Restriction levels for autoconfirmed, autopatrol and review rights

$wgFlaggedRevsRestrictionLevels = array( '', 'autoconfirmed', 'autopatrol', 'review' );

  1. Use flag "protection" levels

$wgFlaggedRevsProtection = true;

  1. Use current templates/files

$wgFlaggedRevsHandleIncludes = FR_INCLUDES_CURRENT;

  1. Trial quota

$wgFlaggedRevsProtectQuota = 2000;

  1. User groups permissions

$wgGroupPermissions['autoconfirmed']['autoreview'] = true;
$wgGroupPermissions['reviewer']['autopatrol'] = true;
$wgGroupPermissions['reviewer']['patrol'] = true;
$wgGroupPermissions['reviewer']['unwatchedpages'] = true;
$wgGroupPermissions['sysop']['review'] = true;
$wgGroupPermissions['sysop']['validate'] = true;
$wgGroupPermissions['sysop']['stablesettings'] = true;

  1. Remove editor and autoreview user groups

unset( $wgGroupPermissions['editor'], $wgGroupPermissions['autoreview'] );
$wgAddGroups['sysop'] = array_diff( $wgAddGroups['sysop'], array( 'editor', 'autoreview' ) );
$wgRemoveGroups['sysop'] = array_diff( $wgRemoveGroups['sysop'], array( 'editor', 'autoreview' ) );
}

Thank you very much.


Version: wmf-deployment
Severity: enhancement
URL: https://ckb.wikipedia.org/wiki/ویکیپیدیا:ڕاپرسییەکان/زیادکردنی_پاشکۆی_FlaggedRevs

Details

Reference
bz65809

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:08 AM
bzimport set Reference to bz65809.
bzimport added a subscriber: Unknown Object (MLST).
Calak created this task.May 27 2014, 2:58 PM

Change 136282 had a related patch set uploaded by Reza:
Enable FlaggedRevs for Central Kurdish Wikipedia

https://gerrit.wikimedia.org/r/136282

Change 136282 merged by jenkins-bot:
Enable FlaggedRevs for Central Kurdish Wikipedia

https://gerrit.wikimedia.org/r/136282