Last modified: 2009-06-18 14:46:55 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 T17568, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15568 - Enable FlaggedRevs custom configuration on Hungarian Wikipedia
Enable FlaggedRevs custom configuration on Hungarian Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Rob Halsell
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-11 21:24 UTC by Tisza Gergő
Modified: 2009-06-18 14:46 UTC (History)
2 users (show)

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


Attachments

Description Tisza Gergő 2008-09-11 21:24:20 UTC
Please enable FlaggedRevs on Hungarian Wikipedia with the following configuration:

* 1 parameter with 3 levels (none/sighted/featured)
* Simple UI without tabs
* Only show the message box on pages that have at least one flagged revision (is this possible? I couldn't find any corresponding configuration setting)
* Display latest flagged (sighted or featured) version to anons, current version to users
* Flag articles, templates, images and portals; no patrolling; feedback on articles
* Sysops can validate; sysops and editors can sight; confirmed users (a new user group) can autoreview; everyone can give feedback
* Bueraucrats can add/remove from editor and confirmed groups; no autopromote
* Review changes on save, autoreview changes and new pages, reviewers can comment

Relevant community discussion & vote:
http://hu.wikipedia.org/wiki/Wikip%C3%A9dia:Szavaz%C3%A1s/Jel%C3%B6lt_lapv%C3%A1ltozatok_bevezet%C3%A9se

(hopefully :) corresponding configuration settings:

# UI
$wgSimpleFlaggedRevsUI = true;
$wgFlaggedRevTabs = false;
$wgFlaggedRevsLowProfile = false;
$wgFlaggedRevsOverride = true;
$wgFlaggedRevsPrecedence = false;

# workflow
$wgReviewChangesAfterEdit = true;
$wgFlaggedRevsAutoReview = true;
$wgFlaggedRevsAutoReviewNew = true;
 
# namespaces
$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE, 100 ); # 100 = Portal
$wgFlaggedRevsPatrolNamespaces = array( );
$wgFeedbackNamespaces = array( NS_MAIN );

# levels
$wgFlaggedRevValues = 2; // none, sighted, featured
$wgFlaggedRevTags = array( 'accuracy'=>2 ); // quality == featured
$wgFlagRestrictions = array(
    'accuracy' => array( 'review' => 1 ),
);
$wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' => 2, 'npov' => 2, 'presentation' => 1 );
 
# reviewers
$wgFlaggedRevsComments = true;
$wgGroupPermissions['editor']['rollback'] = true;
$wgGroupPermissions['sysop']['validate'] = true;
$wgGroupPermissions['sysop']['review'] = true;
$wgGroupPermissions['sysop']['autoreview'] = true;
$wgGroupPermissions['sysop']['stablesettings'] = true;
unset($wgGroupPermissions['reviewer']);
 
# non-reviewers
$wgFlaggedRevsExceptions = array( 'user' );
$wgGroupPermissions['*']['feedback'] = true;
$wgGroupPermissions['confirmed']['autoreview'] = true;
$wgGroupPermissions['confirmed']['autopatrolother'] = true;
$wgGroupPermissions['autoconfirmed']['movestable'] = true;
 
# rights management
$wgAddGroups['bureaucrat'][] = 'editor';
$wgRemoveGroups['bureaucrat'][] = 'editor';
$wgAddGroups['bureaucrat'][] = 'confirmed';
$wgRemoveGroups['bureaucrat'][] = 'confirmed';
if (is_array($wgAddGroups['sysop']))
    unset($wgAddGroups['sysop'][array_search('editor', $wgAddGroups['sysop'])]);
if (is_array($wgRemoveGroups['sysop']))
    unset($wgRemoveGroups['sysop'][array_search('editor', $wgRemoveGroups['sysop'])]);
$wgFlaggedRevsAutopromote = false;
Comment 1 Rob Halsell 2008-11-17 18:13:26 UTC
I have gone ahead and enabled flaggedrevs for huwiki with the below custom settings.  If there are any issues, please do not hesitate to re-open this ticket.

Thanks!


(In reply to comment #0)
> Please enable FlaggedRevs on Hungarian Wikipedia with the following
> configuration:
> 
> * 1 parameter with 3 levels (none/sighted/featured)
> * Simple UI without tabs
> * Only show the message box on pages that have at least one flagged revision
> (is this possible? I couldn't find any corresponding configuration setting)
> * Display latest flagged (sighted or featured) version to anons, current
> version to users
> * Flag articles, templates, images and portals; no patrolling; feedback on
> articles
> * Sysops can validate; sysops and editors can sight; confirmed users (a new
> user group) can autoreview; everyone can give feedback
> * Bueraucrats can add/remove from editor and confirmed groups; no autopromote
> * Review changes on save, autoreview changes and new pages, reviewers can
> comment
> 
> Relevant community discussion & vote:
> http://hu.wikipedia.org/wiki/Wikip%C3%A9dia:Szavaz%C3%A1s/Jel%C3%B6lt_lapv%C3%A1ltozatok_bevezet%C3%A9se
> 
> (hopefully :) corresponding configuration settings:
> 
> # UI
> $wgSimpleFlaggedRevsUI = true;
> $wgFlaggedRevTabs = false;
> $wgFlaggedRevsLowProfile = false;
> $wgFlaggedRevsOverride = true;
> $wgFlaggedRevsPrecedence = false;
> 
> # workflow
> $wgReviewChangesAfterEdit = true;
> $wgFlaggedRevsAutoReview = true;
> $wgFlaggedRevsAutoReviewNew = true;
> 
> # namespaces
> $wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE, 100 ); # 100
> = Portal
> $wgFlaggedRevsPatrolNamespaces = array( );
> $wgFeedbackNamespaces = array( NS_MAIN );
> 
> # levels
> $wgFlaggedRevValues = 2; // none, sighted, featured
> $wgFlaggedRevTags = array( 'accuracy'=>2 ); // quality == featured
> $wgFlagRestrictions = array(
>     'accuracy' => array( 'review' => 1 ),
> );
> $wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' => 2,
> 'npov' => 2, 'presentation' => 1 );
> 
> # reviewers
> $wgFlaggedRevsComments = true;
> $wgGroupPermissions['editor']['rollback'] = true;
> $wgGroupPermissions['sysop']['validate'] = true;
> $wgGroupPermissions['sysop']['review'] = true;
> $wgGroupPermissions['sysop']['autoreview'] = true;
> $wgGroupPermissions['sysop']['stablesettings'] = true;
> unset($wgGroupPermissions['reviewer']);
> 
> # non-reviewers
> $wgFlaggedRevsExceptions = array( 'user' );
> $wgGroupPermissions['*']['feedback'] = true;
> $wgGroupPermissions['confirmed']['autoreview'] = true;
> $wgGroupPermissions['confirmed']['autopatrolother'] = true;
> $wgGroupPermissions['autoconfirmed']['movestable'] = true;
> 
> # rights management
> $wgAddGroups['bureaucrat'][] = 'editor';
> $wgRemoveGroups['bureaucrat'][] = 'editor';
> $wgAddGroups['bureaucrat'][] = 'confirmed';
> $wgRemoveGroups['bureaucrat'][] = 'confirmed';
> if (is_array($wgAddGroups['sysop']))
>     unset($wgAddGroups['sysop'][array_search('editor',
> $wgAddGroups['sysop'])]);
> if (is_array($wgRemoveGroups['sysop']))
>     unset($wgRemoveGroups['sysop'][array_search('editor',
> $wgRemoveGroups['sysop'])]);
> $wgFlaggedRevsAutopromote = false;
> 

Comment 2 Tisza Gergő 2008-11-19 15:11:29 UTC
Thanks! Two more things: please delete the 'patroller' group (obsoleted by 'editor'; all users have been removed from it), and grant the 'unreviewedpages' right to sysops.
Comment 3 Rob Halsell 2008-11-24 20:26:01 UTC
Not quite sure how to do both of these without causing possible issues.  I will check with Brion later today and get it figured out, will keep you updated.
Comment 4 Rob Halsell 2008-11-24 21:41:42 UTC
the patroller group is now gone and unreviewedpages has been added to the sysops rights.  If there is anything else, just let me know.

Thanks!
Comment 5 Tisza Gergő 2008-11-24 23:38:01 UTC
Thanks again! Could you please give 'patrolmarks' to the sysops too? Sorry, this seems to be the last one :-)

Also, could you remove the 'patroller' group from the $wgAddGroups/$wgRemoveGroups arrays for bureaucrats? It doesn't have much effect, but it shows up on the Special:Listgrouprights page, and looks a bit confusing because we gave the 'editor' group the same local name.
Comment 6 Rob Halsell 2008-11-25 15:50:34 UTC
The requested changes have been made.
Comment 7 Samat 2008-11-25 15:58:54 UTC
It works perfectly. Thank you!
Comment 8 Tisza Gergő 2009-06-15 13:45:12 UTC
Please give autoreview right to bots. (This was the default setting until recently; IMO removing it was a bad idea.)
Comment 9 Tisza Gergő 2009-06-15 14:06:12 UTC
Might be caused by bug 19206 or bug 19207.
Comment 10 Tisza Gergő 2009-06-15 14:34:46 UTC
Also, $wgFlaggedRevsPatrolNamespaces = array( ); seems to have no effect, the patrol marks still show up in the article space. Another FlagRev bug, maybe?
Comment 11 Tisza Gergő 2009-06-15 18:42:31 UTC
Also, please remove the line with the autopatrolother right; that right was apparently removed in r48116, and huwiki doesn't use the old patrolling feature anyway.
Comment 12 Tisza Gergő 2009-06-16 17:23:14 UTC
(In reply to comment #8)

Please also add review right to bots as a temporary workaround (see https://bugzilla.wikimedia.org/show_bug.cgi?id=19207#c10 ); manually sighting their edits is a lot of unnecessary work, even in short term.
Comment 13 Tisza Gergő 2009-06-17 12:05:20 UTC
With bug 19207 fixed, much of the above is obsolete so I'll summarize what is not:

please replace
$wgGroupPermissions['confirmed']['autopatrolother'] = true;
with
$wgGroupPermissions['confirmed']['autopatrol'] = true;

also, please add
$wgGroupPermissions['bot']['autoreview'] = true;
(if only for aesthetic reasons - bots receive special treatment from FlaggedRevs anyway, but this makes Special:ListGroupRights more informative.)
Comment 14 Rob Halsell 2009-06-18 14:46:55 UTC
Changes have been made and pushed live to the project.  If there are any other questions or concerns, please let me know.

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


Navigation
Links