Last modified: 2014-02-23 00:05:21 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 T46587, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44587 - FlaggedRevs, patroller and autoreview changes for tr.wiki
FlaggedRevs, patroller and autoreview changes for tr.wiki
Status: NEW
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-01 16:49 UTC by Vito Genovese
Modified: 2014-02-23 00:05 UTC (History)
8 users (show)

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


Attachments

Description Vito Genovese 2013-02-01 16:49:54 UTC
Hello,

I'd like to request a few changes to the configuration of tr.wiki, where I am an admin and a bureaucrat (mentioning this for reliability purposes). Basically three changes are required.

1. Enabling of autopromotion for Patroller and Autoreview user groups with the following settings:

Parameter: Patroller - Autoreview

days: 60 - 30
edits: 250 - 50
excludeLastDays: 1 - 2
benchmarks: 15 - 7
spacing: 3 - 3
totalContentEdits: 300 - 150
totalCheckedEdits: 200 - 50
uniqueContentPages: 14 - 8
editComments: 50 - 20
email: false - false
userpageBytes: 0 - 0
neverBlocked: true - true
maxRevertedEditRatio: .03 - .03

The community consensus can be seen here:

http://tr.wikipedia.org/w/index.php?title=Vikipedi:K%C3%B6y_%C3%A7e%C5%9Fmesi/2012/Ekim&oldid=12377653#Teklif

2. Inclusion of Portal and Help namespaces into the FlaggedRevs system.

Here is the link:

http://tr.wikipedia.org/w/index.php?title=Vikipedi:K%C3%B6y_%C3%A7e%C5%9Fmesi/2012/Ekim&oldid=12377653#Yard.C4.B1m_ve_Portal_ad_alanlar.C4.B1n.C4.B1n_SK_kapsam.C4.B1na_sokulmas.C4.B1

3. Filemover right for the Patrollers.

The link:

http://tr.wikipedia.org/w/index.php?title=Vikipedi:K%C3%B6y_%C3%A7e%C5%9Fmesi/2012/Ekim&oldid=12377653#Devriyelere_Filemover_hakk.C4.B1_verilmesi

Please do not hesitate to ask if something is unclear or simply does not look right.

Cheers

Vito
Comment 1 Alex Monk 2013-02-01 17:00:40 UTC
(In reply to comment #0)
> days: 60 - 30
> edits: 250 - 50
> excludeLastDays: 1 - 2
> benchmarks: 15 - 7
> spacing: 3 - 3
> totalContentEdits: 300 - 150
> totalCheckedEdits: 200 - 50
> uniqueContentPages: 14 - 8
> editComments: 50 - 20
> email: false - false
> userpageBytes: 0 - 0
> neverBlocked: true - true
> maxRevertedEditRatio: .03 - .03

Is there documentation for these somewhere?
Comment 2 Vito Genovese 2013-02-01 17:02:26 UTC
Hi, Krenair.

What do you mean by documentation? For you or for the community?
Comment 3 Alex Monk 2013-02-02 00:36:09 UTC
For me. I have no idea what to do with these settings. I would expect something similar to the examples at https://www.mediawiki.org/wiki/Manual:$wgAutopromote for autopromotion settings.
Comment 4 Vito Genovese 2013-02-02 07:24:43 UTC
Right. In that case I think it is something like this:

http://tr.wikipedia.org/w/index.php?title=Vikipedi:K%C3%B6y_%C3%A7e%C5%9Fmesi/2012/Ekim&oldid=12377653#Temeller

This version has my comments in Turkish of course. For a "cleaner" version this might help:

http://www.mediawiki.org/wiki/Extension:FlaggedRevs#Automatic_user_promotion
Comment 5 Alex Monk 2013-02-02 13:20:41 UTC
I don't think I can get this to handle promotion to patroller...
Comment 6 Vito Genovese 2013-02-02 20:55:38 UTC
What about the other two?
Comment 7 Alex Monk 2013-02-03 00:53:11 UTC
Actually, I think we can do patroller autopromotion with something like this (based on FlaggedRevsSetup::setAutopromoteConfig):

$wgAutopromoteOnce['onEdit']['patroller'] = array(
	'&',
	array( APCOND_AGE, 60*86400 ),
	array( APCOND_EDITCOUNT, 250, 86400 ),
	array( APCOND_FR_EDITSUMMARYCOUNT, 50 ),
	array( APCOND_FR_UNIQUEPAGECOUNT, 14 ),
	array( APCOND_FR_EDITSPACING, 3, 15 ),
	array( '|', // OR
		array( APCOND_FR_CONTENTEDITCOUNT, 300, 86400 ),
		array( APCOND_FR_CHECKEDEDITCOUNT, 200, 86400 )
	),
	array( APCOND_FR_NEVERBOCKED ),
	array( APCOND_FR_MAXREVERTEDEDITRATIO, 0.03 ),
	array( APCOND_FR_USERPAGEBYTES, 0 )
);

Autopromotion to autoreview, inclusion of namespaces and addition of rights should be easy.
Comment 8 Vito Genovese 2013-02-03 09:36:17 UTC
How do other wikis do it? As far as I know, German Wikipedia has autopromotion for both groups (see http://de.wikipedia.org/wiki/Wikipedia:Gesichtete_Versionen#Vergabe). Could it be possible to copy their settings and go from there?
Comment 9 Alex Monk 2013-02-03 14:57:43 UTC
As far as I can tell, the German Wikipedia has it for 'editor' and 'autoreview', not 'patroller'.
Comment 10 Vito Genovese 2013-02-03 15:02:05 UTC
Correct. Both wikis have Autoreview, and de.wiki has Editor instead of Patroller. Would it work if we copied their settings and replaced the word "Editor" with "Patroller"? Forgive me if what I am saying is noobish :)
Comment 11 Alex Monk 2013-02-03 15:16:45 UTC
No. If you look at their settings you'll see they don't actually mention 'editor', it's done through $wgFlaggedRevsAutopromote. Autoreview promotion comes through $wgFlaggedRevsAutoconfirm. Also see FlaggedRevsSetup::setAutopromoteConfig.
Comment 12 Vito Genovese 2013-02-03 15:18:38 UTC
Oh, I see now. Thank you.
Comment 13 Vito Genovese 2013-02-13 01:01:26 UTC
Could we do this step by step and start with Steps 2 and 3? Autopromotion could be sorted out later.
Comment 14 Alex Monk 2013-02-13 16:58:32 UTC
Gerrit change #48841. Autopromotion to patroller is not included in this patch, but it is for autoreview.
Comment 15 Vito Genovese 2013-02-15 15:04:20 UTC
Turns out the change has been implemented today. Thank you, Alex. Something has to be fixed though. Check this link please:

http://tr.wikipedia.org/w/index.php?title=%C3%96zel%3AG%C3%BCnl%C3%BCk&type=rights&user=&page=&year=&month=-1&tagfilter=

Several bots and a fellow crat has been automatically promoted to autoreview. Obviously we do not want Sysops, Bureaucrats, Bots and Patrollers to be autopromoted to Autoreview. And also, for future reference, when someone in Autoreview is promoted to Patroller, they should be removed from Patroller. Otherwise it'd be an unnecessary duplication of rights.
Comment 16 Alex Monk 2013-02-15 16:06:55 UTC
(In reply to comment #15)
> Obviously we do not want Sysops, Bureaucrats, Bots and Patrollers to be autopromoted to Autoreview.

This can probably be done, but we'll need to change the $wgFlaggedRevsAutoconfirm to a full $wgAutopromoteOnce['onEdit']['autoreview'].

(In reply to comment #15)
> when someone in Autoreview is promoted to Patroller, they should be removed from Patroller.

Not possible as far as I know.
Comment 17 Vito Genovese 2013-02-15 16:09:23 UTC
> when someone in Autoreview is promoted to Patroller, they should be removed from Patroller.

Terribly sorry. I meant to say "they should be removed from Autoreview". All the same?
Comment 18 Alex Monk 2013-02-15 16:10:53 UTC
(In reply to comment #17)
> > when someone in Autoreview is promoted to Patroller, they should be removed from Patroller.
> 
> Terribly sorry. I meant to say "they should be removed from Autoreview". All
> the same?

Yes, still not possible as far as I know.
Comment 19 Alex Monk 2013-02-18 17:21:00 UTC
Gerrit change #49685
Comment 20 Alex Monk 2013-02-25 20:56:53 UTC
Deployed by Reedy.
Comment 21 Vito Genovese 2013-02-26 20:42:36 UTC
Thank you, Alex.
Comment 22 Vito Genovese 2013-02-27 16:09:04 UTC
O_o

I just realized that I made a terrible mistake (my own comparison table confused me, apparently), and provided incorrect numbers as autopromotion criteria. The actual numbers are supposed to be smaller than those seen in my first comment. I am terribly sorry about all this.

The correct criteria are as follows:

Patroller - Autoreview

days: 15 - 7
edits: 150 - 30
spacing: 7 - 7
totalContentEdits: 100 - 20
totalCheckedEdits: 0 - 0
uniqueContentPages: 10 - 5
editComments: 25 - 5

The others remain the same. Again, so sorry about this, Alex.
Comment 23 Alex Monk 2013-02-27 16:55:53 UTC
Gerrit change #51172
Comment 24 Alex Monk 2013-02-28 00:36:08 UTC
Merged and deployed by Reedy.
Comment 25 Vito Genovese 2013-03-05 16:08:12 UTC
I think there is a problem. We did see some autopromotions after the first deployment (dated February 15th, 2013), but ever since the second deployment (dated February 25th, 2013), not one autopromotion has been seen. The third one (dated February 28th, 2013) did not change this.

Could something be wrong?
Comment 26 Vito Genovese 2013-03-05 16:10:32 UTC
Forgot to add the link to the user rights log:

https://tr.wikipedia.org/w/index.php?title=%C3%96zel%3AG%C3%BCnl%C3%BCk&type=rights&user=&page=&year=&month=-1&tagfilter=
Comment 27 Alex Monk 2013-03-05 20:37:17 UTC
Gerrit change #52273 should fix it...
Comment 28 Alex Monk 2013-03-06 20:10:06 UTC
That was disabled in Gerrit change #52353 and fixed in Gerrit change #52433.

Looking at the log now, bots are getting promoted to patroller... Is that okay?
https://tr.wikipedia.org/w/index.php?title=%C3%96zel%3AG%C3%BCnl%C3%BCk&type=rights
Comment 29 Vito Genovese 2013-03-06 20:38:14 UTC
Nope. Ideally (that is, if possible) bots and sysops should not be autopromoted (to anything), and Patrollers should not be autopromoted to Autoreview. The latter would not be the end of the world (since I expect autopromotion to become the predominant method, and manual promotions to take place rarely).
Comment 30 Alex Monk 2013-03-06 20:43:23 UTC
Gerrit change #52461
Comment 31 Vito Genovese 2013-03-24 10:24:42 UTC
Has this been deployed yet?
Comment 32 Andre Klapper 2013-03-24 17:58:06 UTC
The link in comment 30 says "Status: Merged" and https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/InitialiseSettings.php#l9326 also shows the change, so it should be deployed.

Can this be closed as FIXED then?
Comment 33 Alex Monk 2013-03-24 18:03:24 UTC
I would say so but there doesn't seem to be any autopromotions actually happening, so it's difficult to tell.
Comment 34 Vito Genovese 2013-03-24 18:04:55 UTC
Ditto. Only deployment that worked was the first one.
Comment 35 Sam Reed (reedy) 2013-05-16 23:55:06 UTC
I wonder if the actual feature is potentially broken. If so, a separate appropriate bug should be opened for it
Comment 36 Tomasz W. Kozlowski 2013-11-26 22:13:58 UTC
There is no patch fixing this bug awaiting merging in Gerrit, therefore changing status back into "NEW" since "REOPENED" isn't available.

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


Navigation
Links