Page MenuHomePhabricator

Change of autoconfirmed group on ar.wikipedia
Closed, DeclinedPublic

Description

Hello,

In ar.wikipedia, autoconfirmed group automatically given after 50 edits (on all namespaces) and 4 days (registered for more than four days).

Recently, ar.wikipedia community decided to change:

  • after 50 edits on article namespace (ns=0).

So the user take autoconfirmed flag after 50 edits (on ns=0) and registered for more than four days.

Discussion and community approval

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 30 2018, 1:13 PM

This does not seem to be possible for now as far as I can see. None of the variables governing the autoconfirmation of accounts distinguish edits between namespaces. [[ https://www.mediawiki.org/wiki/Manual:$wgAutoConfirmCount | $wgAutoConfirmCount ]] just counts the edits of the account without differentiating between namespaces and [[ https://www.mediawiki.org/wiki/Manual:$wgAutoConfirmAge | $wgAutoConfirmAge ]] counts the time. Together they manage the autoconfirmation of accounts on Wikimedia Wikis. So to do this we should, I think, modify the way $wgAutoConfirmCount works or add a new configuration. Another option might be (not sure) removing arwiki from the defaults and use [[ https://www.mediawiki.org/wiki/Manual:$wgAutopromote | $wgAutopromote ]] but as far as I know this does not work for implicit user groups (such as autoconfirmed).

alanajjar added a comment.EditedMay 2 2018, 6:55 PM

How we can see the autoconfirmed users on ar.wiki (or their number)? I try here but no result.

That is a list for explicit user groups. Autoconfirmed is an implicit user group. According to https://www.mediawiki.org/wiki/Manual:User_groups_table they cannot be queried via database :-( Not sure who can provide you with such a list though.

Aha @MarcoAurelio Thanks, I think we can queried it as extendedconfirmed group!

arwiki do not have any extendedconfirmed user group:

MariaDB [arwiki_p]> select distinct ug_group from user_groups;
+----------------+
| ug_group       |
+----------------+
| abusefilter    |
| accountcreator |
| autoreview     |
| bot            |
| bureaucrat     |
| checkuser      |
| confirmed      |
| editor         |
| epcampus       |
| epcoordinator  |
| epinstructor   |
| eponline       |
| flow-bot       |
| import         |
| ipblock-exempt |
| reviewer       |
| rollbacker     |
| sysop          |
| uploader       |
+----------------+
19 rows in set (0.00 sec)
Urbanecm added a subscriber: Urbanecm.EditedMay 2 2018, 8:34 PM

Aha @MarcoAurelio Thanks, I think we can queried it as extendedconfirmed group!

Extended confirmed is something else. It is explicit group that is added automatically by autopromoting feature. It does not match the autoconfirmed group (and, as Marco noted, it isn't enabled for arwiki).

That is a list for explicit user groups. Autoconfirmed is an implicit user group. According to https://www.mediawiki.org/wiki/Manual:User_groups_table they cannot be queried via database :-( Not sure who can provide you with such a list though.

You must query for the info that defines when you can pass isNewbie function (it's the two config variables). See the example below.

urbanecm@tools-bastion-03 ~ 
$ sql arwiki
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 44875654
Server version: 10.1.32-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [arwiki_p]> select count(*) from user where user_registration is not null and user_registration<20180428235959 and user_editcount>=50;
+----------+
| count(*) |
+----------+
|     7801 |
+----------+
1 row in set (0.61 sec)

MariaDB [arwiki_p]> select count(*) from user;
+----------+
| count(*) |
+----------+
|  1483416 |
+----------+
1 row in set (0.33 sec)

MariaDB [arwiki_p]>

So, in arwiki, roughly 7800 users out of 1483416 are autoconfirmed.

Aha @MarcoAurelio Thanks, I think we can queried it as extendedconfirmed group!

Extended confirmed is something else. It is explicit group that is added automatically by autopromoting feature. It does not match the autoconfirmed group (and, as Marco noted, it isn't enabled for arwiki).

That is a list for explicit user groups. Autoconfirmed is an implicit user group. According to https://www.mediawiki.org/wiki/Manual:User_groups_table they cannot be queried via database :-( Not sure who can provide you with such a list though.

You must query for the info that defines when you can pass isNewbie function (it's the two config variables). See the example below.

urbanecm@tools-bastion-03 ~ 
$ sql arwiki
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 44875654
Server version: 10.1.32-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [arwiki_p]> select count(*) from user where user_registration is not null and user_registration<20180428235959 and user_editcount>=50;
+----------+
| count(*) |
+----------+
|     7801 |
+----------+
1 row in set (0.61 sec)

MariaDB [arwiki_p]> select count(*) from user;
+----------+
| count(*) |
+----------+
|  1483416 |
+----------+
1 row in set (0.33 sec)

MariaDB [arwiki_p]>

So, in arwiki, roughly 7800 users out of 1483416 are autoconfirmed.

Can we added it to arwiki Special:Statistics? or it'll be hard?

I don't know. You can fill a separate task if you want.

I don't know. You can fill a separate task if you want.

Done T193673

Thanks

You can use https://quarry.wmflabs.org/ if you need a web interface to run queries.

I don't know. You can fill a separate task if you want.

Done T193673

Thanks

I meant...to fill it as a feature request, not site request. Amended.

Vvjjkkii renamed this task from Change of autoconfirmed group on ar.wikipedia to 7ydaaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Restricted Application added a subscriber: Dereckson. · View Herald TranscriptJul 1 2018, 1:13 AM
CommunityTechBot renamed this task from 7ydaaaaaaa to Change of autoconfirmed group on ar.wikipedia.Jul 2 2018, 4:32 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot edited subscribers, added: Aklapper; removed: Dereckson.
MarcoAurelio closed this task as Declined.Jan 30 2019, 8:48 PM

I am declining this task as per my comment at T193396#4169824. $wgAutoConfirmCount do not distinguish between namespaces when it comes to counting edits; so this cannot be done with the current state of MediaWiki codebase. If people wants to implement such a feature, a specific task to modify the behaviour of such variable should be added instead.