Last modified: 2014-06-09 14:51:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67809, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65809 - Enable FlaggedRevs extension on ckb.wikipedia
Enable FlaggedRevs extension on ckb.wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
wmf-deployment
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://ckb.wikipedia.org/wiki/ویکیپی...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-27 14:58 UTC by Calak
Modified: 2014-06-09 14:51 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Calak 2014-05-27 14:58:09 UTC
Hello. Please enable FlaggedRevs extension on ckb.wikipedia.
Extension settings (per community consensus page):

elseif ( $wgDBname == 'ckbwiki') {
	# Namespaces
	$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_PROJECT, NS_HELP, NS_TEMPLATE, NS_CATEGORY, NS_FILE, 100, 102, 828 );
	# Show only on a per-page basis
	$wgFlaggedRevsOverride = false;
	# We have only one tag with one level
	$wgFlaggedRevTags = array(
		'status' => array( 'levels' => 1, 'quality' => 2, 'pristine' => 3 ),
	);
	# Restrict autoconfirmed to flagging semi-protected
	$wgFlagRestrictions = array(
		'status' => array( 'review' => 1, 'autoreview' => 1 ),
	);
	# Restriction levels for autoconfirmed, autopatrol and review rights
	$wgFlaggedRevsRestrictionLevels = array( '', 'autoconfirmed', 'autopatrol', 'review' );
	# Use flag "protection" levels
	$wgFlaggedRevsProtection = true;
	# Use current templates/files
	$wgFlaggedRevsHandleIncludes = FR_INCLUDES_CURRENT;
	# Trial quota
	$wgFlaggedRevsProtectQuota = 2000;

	# 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;

	# 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.
Comment 1 Gerrit Notification Bot 2014-05-30 05:28:50 UTC
Change 136282 had a related patch set uploaded by Reza:
Enable FlaggedRevs for Central Kurdish Wikipedia

https://gerrit.wikimedia.org/r/136282
Comment 2 Gerrit Notification Bot 2014-06-05 18:17:45 UTC
Change 136282 merged by jenkins-bot:
Enable FlaggedRevs for Central Kurdish Wikipedia

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links