Author: aaron.adrignola
Description:
There are several configuration changes the community has decided on for English Wikibooks. I'm going to break this up into parts to match up with the changes requested. I've provided the code needed to effect these changes for the convenience of the developers, though some may have to be tweaked for the arrays being used in Flaggedrevs.php and InitialiseSettings.php.
For flagged revisions, anonymous users should now see the current revision instead of the latest reviewed revision. Please *add*:
$wgFlaggedRevsOverride = false;
New pages created by reviewers should be reviewed by default. Please *remove*:
$wgFlaggedRevsAutoReviewNew = false;
Use three levels other than unreviewed, rather than the current four. Please *remove*:
$wgFlaggedRevValues = 4;
Please *change* $wgFlaggedRevTags to:
$wgFlaggedRevTags = array(
'quality' => array('levels' => 3, 'quality' => 2, 'pristine' => 3) );
Please run an SQL query to replace all ratings on "composition" with ones on "quality" so that current work done to review pages is not lost. Current entries for "accuracy" or "coverage" are no longer needed, but they probably will do no harm remaining in the database.
There should no longer be any restriction on what review levels can be reviewed, by those who can review. Please *remove*:
$wgFlagRestrictions = array(
'composition' => array( 'review' => 3, 'autoreview' => 3 ), 'accuracy' => array( 'review' => 3, 'autoreview' => 3 ), 'coverage' => array( 'review' => 3, 'autoreview' => 3 ),
);
Because the most recent version will be shown by default, it will be necessary to switch between latest and stable with tabs. Please *remove*:
$wgFlaggedRevTabs = false;
The comment box for providing reviews should be removed. Please *change* $wgFlaggedRevComments to:
$wgFlaggedRevComments = false;
Autopromotion criteria are being changed. Please reduce the edit intervals from 10 to 8, reduce recent changes edits from 10 to 5, and remove the requirement for a unique IP address. $wgFlaggedRevsAutopromote should look like the following:
$wgFlaggedRevsAutopromote = array(
'days' => 30, 'edits' => 100, 'excludeDeleted' => true, 'spacing' => 2, 'benchmarks' => 8, 'recentContentEdits' => 5, 'totalContentEdits' => 50, 'uniqueContentPages' => 10, 'editComments' => 50, 'email' => true, 'userpage' => false, 'uniqueIPAddress' => false, 'neverBlocked' => true,
) + $wgFlaggedRevsAutopromote;
The editor group will be getting rollback. Please *add*:
$wgGroupPermissions['editor']['rollback'] = true;
Page patrol is not used in any namespace with flagged revisions enabled. Please *change* $wgGroupPermissions for sysops to the following three lines in flaggedrevs.php:
$wgGroupPermissions['sysop']['review'] = true;
$wgGroupPermissions['sysop']['stablesettings'] = true;
$wgGroupPermissions['sysop']['validate'] = true;
With restrictions on who can rate to what level removed, we have no need for the separate reviewer and editor groups any longer and would like the reviewer group removed. If we need to remove people from it first, please let us know. Please *add*:
unset($wgGroupPermissions['reviewer']);
We do not use the importer group and we plan to enable the transwiki importer group (see below). To remove the distinction and make the importer group disappear from Special:ListGroupRights, please *add*:
unset($wgGroupPermissions['importupload']);
We would like to enable the AbuseFilter extension (see below) with custom permissions. Please *add*:
$wgGroupPermissions['*']['abusefilter-view'] = false;
$wgGroupPermissions['*']['abusefilter-log'] = false;
$wgGroupPermissions['autoconfirmed']['abusefilter-view'] = true;
$wgGroupPermissions['autoconfirmed']['abusefilter-log'] = true;
We would like to enable the Reader Feedback extension (see below) for the main, Wikijunior, and Cookbook namespaces. Please *add*:
$wgFeedbackNamespaces = array(NS_MAIN, 102, 110);
Feedback should be retained for 180 days. Please *add*:
$wgFeedbackAge = 180 * 24 * 3600;
Feedback should not be meaningful until five readers have submitted responses. Please *add*:
$wgFeedbackSizeThreshhold = 5;
The Reader Feedback extension should be enabled. Please *add*:
'enwikibooks' => true
to the 'wmgUseReaderFeedback' array.
The Abuse Filter extension should be enabled. Please *add*:
'enwikibooks' => true
to the 'wmgUseAbuseFilter' array.
The available actions for the Abuse Filter should not include the ability to block or degroup. Please *add*:
$wgAbuseFilterAvailableActions = array(
'flag', 'throttle', 'warn', 'disallow', 'blockautopromote', 'tag');
For proper flagged revisions autopromotion and statistics, please add the Wikijunior and Cookbook namespaces to the content namespaces:
$wgContentNamespaces = array(NS_MAIN, 102, 110);
With rollback being provided to the editor group, please remove the rollback group since it is no longer desired as a separate group. If we need to remove people from the group first, please let us know.
We have no need for the patroller group either, since flagged revisions in all of our content namespaces overrides it. If we need to remove people from the group first, please let us know.
Additionally, we would like to enable the addition of people to the transwiki importer group. We would also like bureaucrats to be able to add people to the flood group; they can currently only remove.
For the above, in the 'enwikibooks' array in the 'groupOverrides' array, please *remove*:
'rollbacker' => array( 'rollback' => true ),
'patroller' => array( 'patrol' => true, 'autopatrol' => true),
For the above, in the 'enwikibooks' array in the 'wgAddGroups' array, please *change* the content to:
'sysop' => array('transwiki', 'uploader'),
'bureaucrat' => array('flood'),
For the above, in the 'enwikibooks' array in the 'wgRemoveGroups' array, please *change* the content to:
'sysop' => array('ipblock-exempt', 'transwiki', 'uploader'),
Thank you for your time.
Version: unspecified
Severity: enhancement
URL: http://en.wikibooks.org/w/index.php?title=Wikibooks:Reading_room/General&oldid=1875708#Reconfigure_Wikibooks