Page MenuHomePhabricator

Remove user from the defunct user group
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce: User:Sakhalinio (an admin) at trwiki was auto-promoted to the Editor user group in 2019, even though auto-promotions had not worked since 2013 (see T46587). Since the user group in question is now defunct (see T40690), we cannot remove him from the group. He seems to be the only member of the group right now:

https://tr.wikipedia.org/wiki/Özel:KullanıcıListesi?group=editor

You can remove all auto-promotion rules from the configuration files while you are at it.

Actual Results:

Expected Results:

Event Timeline

Mentioned in SAL (#wikimedia-operations) [2020-08-20T11:07:16Z] <Urbanecm> [urbanecm@mwmaint1002 ~]$ mwscript emptyUserGroup.php --wiki=trwiki editor # T260899

1[urbanecm@mwmaint1002 ~]$ mwscript emptyUserGroup.php --wiki=trwiki editor
2Removing 1 users from editor... Done!
3[urbanecm@mwmaint1002 ~]$ mwscript shell.php trwiki
4Psy Shell v0.10.4 (PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 — cli) by Justin Hileman
5>>> $wgFlaggedRevsAutoconfirm
6=> false
7>>> $wgFlaggedRevsAutopromote
8=> false
9>>> $wgAutopromote
10=> [
11 "autoconfirmed" => [
12 "&",
13 [
14 1,
15 0,
16 ],
17 [
18 2,
19 345600,
20 ],
21 ],
22 ]
23>>> ^D
24Exit: Ctrl+D
25[urbanecm@mwmaint1002 ~]$

AFAICS, there is no currently active autopromotion at trwiki. The user was removed from the group.