As mentioned on T193396#4176321
Can we display autoconfirmed group on arwiki Special:Statistics? or it'll be hard?
As mentioned on T193396#4176321
Can we display autoconfirmed group on arwiki Special:Statistics? or it'll be hard?
Is it for only arwiki or whole MediaWiki?
it'll be hard?
Of course not, According to core\includes\specials\SpecialStatistics.php
# Skip generic * and implicit groups if ( in_array( $group, $this->getConfig()->get( 'ImplicitGroups' ) ) || $group == '*' ) { continue; }
For Skiping, Special:Statistics takes value from $wgImplicitGroups (From includes/DefaultSettings.php)
/** * Implicit groups, aren't shown on Special:Listusers or somewhere else */ $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
At this point, there are three possibilities.
Thank you for the config variable! I'm not sure if just removing autoconfirmed from $wgImplicitGroups will help, because "$wgImplicitGroups is an array of groups that aren't shown in Special:Listusers and on a few other places".
For shoiwing only stats, We can do it by just replace it
# Skip generic * and implicit groups expect autoconfirmed $ImplicitGroups = $this->getConfig()->get( 'ImplicitGroups' ); $ImplicitGroups_without_autoconfirmed = array_diff($ImplicitGroups, array('autoconfirmed')); if ( in_array( $group, $ImplicitGroups_without_autoconfirmed ) || $group == '*' ) { continue; }
But recently I see that Stats were 0, Looking into SiteStats::numberingroup, I found that SiteStats::numberingroup takes $group for SQL query, and autoconfirmed is not present in ug_group, Sorry was thought autoconfirmed will present in table :(
We request this for ar.wiki, but @Urbanecm fix this task name T193673#4176367
I think it'll be for whole MediaWiki, probably
Firstly the MediaWiki engine must support this. If it will be displayed out of the box or after turning certain config variable on is up to futher discussion. Currently, it isn't possible.
The autoconfirmed right is check on each usage and never stored in the database and therefor not countable on stats. Thats why it is an implict right, not an explicit right.
autoconfirmed can changed when the autoconfirmend condition are changed (for example Tor user have other conditions than normal users), so there is no count for this.
I would say this is a WONTFIX, similar to T32159
Closing task as declined as per technical implementation arguments in previous comment.