Page MenuHomePhabricator

customise FlaggedRevs with whole reviewer system on hi.wikipedia.org
Closed, ResolvedPublic

Description

Author: mayurdce

Description:
Plz also enable following array in flaggedrevs.php for Hindi wiki-

/# namespaces

$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE,

NS_CATEGORY, 100 ); # 100 = Portal

$wgFeedbackNamespaces = array( NS_MAIN );

//# levels
$wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' =>

2, 'npov' => 2, 'presentation' => 1 );

//# non-reviewers

$wgGroupPermissions['bot']['autoreview'] = true;

$wgGroupPermissions['*']['feedback'] = true;

and also remove this array of trial quota-
$wgFlaggedRevsProtectQuota = 2000;

So basically the whole setting will be like that as mentioned below-

hiwiki

elseif ( $wgDBname == 'hiwiki' ) {

//# namespaces
$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE,

NS_CATEGORY, 100 ); # 100 = Portal

$wgFeedbackNamespaces = array( NS_MAIN );

//# levels
$wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' =>

2, 'npov' => 2, 'presentation' => 1 );

  1. Show only on a per-page basis $wgFlaggedRevsOverride = false; $wgFlaggedRevsReviewForDefault = true;
  2. We have only one tag with one level $wgFlaggedRevTags = array( 'status' => array( 'levels' => 1, 'quality' => 2, 'pristine' => 3 ), );
  3. Restrict autoconfirmed to flagging semi-protected $wgFlagRestrictions = array( 'status' => array( 'review' => 1, 'autoreview' => 1 ), );
  4. Restriction levels for auto-review/review rights $wgFlaggedRevsRestrictionLevels = array( '', 'autoconfirmed', 'review',

'sysop' );

  1. Use flag "protection" levels $wgFlaggedRevsProtection = true;
  2. Use current templates/files $wgFlaggedRevsHandleIncludes = FR_INCLUDES_CURRENT;
  3. Group permissions for autoconfirmed $wgGroupPermissions['autoconfirmed']['autoreview'] = true;
  4. Group permissions for sysops $wgGroupPermissions['sysop']['review'] = true; $wgGroupPermissions['sysop']['stablesettings'] = true;
  5. Group permissions for non-reviewers $wgGroupPermissions['bot']['autoreview'] = true; $wgGroupPermissions['*']['feedback'] = true;
  6. Use 'reviewer' group $wgAddGroups['bureaucrat'][] = 'reviewer'; $wgRemoveGroups['bureaucrat'][] = 'reviewer';
  7. Remove 'editor' group unset( $wgGroupPermissions['editor'] ); $wgAddGroups['sysop'] = array_diff( $wgAddGroups['sysop'], array( 'editor'

) );

$wgRemoveGroups['sysop'] = array_diff( $wgRemoveGroups['sysop'], array(

'editor' ) );

Community discussion link-
http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2/%E0%A4%AA%E0%A5%81%E0%A4%B0%E0%A4%BE%E0%A4%B2%E0%A5%87%E0%A4%96_20#Apply_reveiwer_.26_partrolled_system_and_Enable_Some_User_Groups_.28autopatroller.2C_reveiwers.29

Regards
Mayur Kumar


Version: unspecified
Severity: enhancement

Details

Reference
bz29911

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:30 PM
bzimport set Reference to bz29911.
bzimport added a subscriber: Unknown Object (MLST).

mayurdce wrote:

Sorry but But one part was left to enable in InitialiseSettings.php for hi Wiki

'wmgUseReaderFeedback' => array(
'hiwiki' => true,

'wmgFeedbackTags' => array(

'hiwiki' => array(
    'reliability'  => 3,
    'completeness' => 2,
    'npov'         => 2,
    'presentation' => 1
),

Regards
Mayur

(In reply to comment #2)

Sorry but But one part was left to enable in InitialiseSettings.php for hi Wiki

'wmgUseReaderFeedback' => array(
'hiwiki' => true,

'wmgFeedbackTags' => array(

'hiwiki' => array(
    'reliability'  => 3,
    'completeness' => 2,
    'npov'         => 2,
    'presentation' => 1
),

Regards
Mayur

Those are ReaderFeedback parameters, nothing to do with FR, so not doing them on this bug

  • Bug 30116 has been marked as a duplicate of this bug. ***

mayurdce wrote:

$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_PROJECT, NS_IMAGE, NS_TEMPLATE,
NS_CATEGORY, 100 ); # 100 = Portal

As previously NS_PROJECT was enabled but now it has been replaced with current setting, I shall request you to put this one parameter in the above array.

Regards