Page MenuHomePhabricator

Enable FlaggedRevs custom configuration on Russian Wikisource
Closed, ResolvedPublic

Description

Author: Aleksandriti

Description:
I request FlaggedRevs to be enabled on Russian Wikisource with following configuration:

  • 1 parameter with 3 levels (unapproved/sighted/reviewed)
  • Display latest reviewed version
  • Flag all spaces
  • Editor flag is given and removed by administrators. Editors may set first 2

levels (unapproved/sighted)

  • Reviewer flag is given and removed by bureaucrats. Reviewers may set all

levels


Version: unspecified
Severity: enhancement
URL: http://ru.wikisource.org/wiki/Викитека:Форум#Flagged_Revisions

Details

Reference
bz15006

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:16 PM
bzimport set Reference to bz15006.

Please add a link to community consensus for this request. Without the link to consensus, this request will not be processed.

Assuming:

$wgFlaggedRevTags = array( 'accuracy'=>2 );
$wgFlaggedRevValues = 2;

"Flag all spaces" not done...should best be left at default (NS_MAIN, NS_IMAGE,
NS_TEMPLATE)

irmvol wrote:

Also please add autoreview rights for sysops and create flag "autopatroller" with rights: autopatrolother, autoreview and autoconfirmed. Thanks.

irmvol wrote:

(In reply to comment #4)

"Flag all spaces" not done...should best be left at default (NS_MAIN, NS_IMAGE,
NS_TEMPLATE)

Please add namespaces: NS_MAIN, NS_IMAGE, NS_TEMPLATE, NS_HELP, NS_PROJECT

"Also please add autoreview rights for sysops and create flag "autopatroller" with rights: autopatrolother, autoreview and autoconfirmed. Thanks"

flaggedrevs.php:

if( $wgDBname == 'ruwikisource' ) {

$wgFlaggedRevTags = array( 'accuracy'=>2 );
$wgFlaggedRevValues = 2;
$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE, NS_HELP, NS_PROJECT );
$wgGroupPermissions['sysop']['autoreview']      = true;

}

InitializeSettings.php:

'ruwikisource' => array(
       'autopatroller' => array( 'autopatrolother' => true, 'autoreview' => true, 'autoconfirmed' => true),
       'patroller' => array( 'patrol' => true, 'autopatrol' => true ),
       'rollbacker' => array( 'rollback' => true ),
),

(In reply to comment #0)

I request FlaggedRevs to be enabled on Russian Wikisource with following
configuration:

  • 1 parameter with 3 levels (unapproved/sighted/reviewed)
  • Display latest reviewed version
  • Flag all spaces
  • Editor flag is given and removed by administrators. Editors may set first 2

levels (unapproved/sighted)

  • Reviewer flag is given and removed by bureaucrats. Reviewers may set all

levels

Per request, flagged revs has been enabled on ruwikisource. If there are any issues, please reply to ticket and we will get them sorted out.

Thanks!