Last modified: 2011-08-08 18:00:17 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 T31911, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29911 - customise FlaggedRevs with whole reviewer system on hi.wikipedia.org
customise FlaggedRevs with whole reviewer system on hi.wikipedia.org
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
: 30116 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-15 19:06 UTC by Mayur
Modified: 2011-08-08 18:00 UTC (History)
2 users (show)

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


Attachments

Description Mayur 2011-07-15 19:06:59 UTC
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 );
    # Show only on a per-page basis
    $wgFlaggedRevsOverride = false;
    $wgFlaggedRevsReviewForDefault = true;
    # 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 auto-review/review rights
    $wgFlaggedRevsRestrictionLevels = array( '', 'autoconfirmed', 'review',
'sysop' );
    # Use flag "protection" levels
    $wgFlaggedRevsProtection = true;
    # Use current templates/files
    $wgFlaggedRevsHandleIncludes = FR_INCLUDES_CURRENT;
    # Group permissions for autoconfirmed
    $wgGroupPermissions['autoconfirmed']['autoreview'] = true;

    # Group permissions for sysops
    $wgGroupPermissions['sysop']['review']         = true;
    $wgGroupPermissions['sysop']['stablesettings'] = true;

    # Group permissions for non-reviewers
    $wgGroupPermissions['bot']['autoreview'] = true;
    $wgGroupPermissions['*']['feedback'] = true;
    # Use 'reviewer' group
    $wgAddGroups['bureaucrat'][] = 'reviewer';
    $wgRemoveGroups['bureaucrat'][] = 'reviewer';
    # 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
Comment 1 Sam Reed (reedy) 2011-07-29 15:56:28 UTC
Done
Comment 2 Mayur 2011-07-29 16:21:49 UTC
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
Comment 3 Sam Reed (reedy) 2011-07-29 16:37:33 UTC
(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
Comment 4 Sam Reed (reedy) 2011-07-29 17:00:23 UTC
*** Bug 30116 has been marked as a duplicate of this bug. ***
Comment 5 Mayur 2011-07-30 09:21:18 UTC
$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
Comment 6 Sam Reed (reedy) 2011-08-08 18:00:17 UTC
Done

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


Navigation
Links