Last modified: 2013-11-22 12:54:48 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 T58945, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56945 - Remove all users from the 'autopatrolled' user group on Wikidata and Test Wikidata
Remove all users from the 'autopatrolled' user group on Wikidata and Test Wik...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal minor with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on: 56203
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 17:32 UTC by Vogone
Modified: 2013-11-22 12:54 UTC (History)
11 users (show)

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


Attachments

Description Vogone 2013-11-12 17:32:07 UTC
Apparently the request in bug 56203 to remove all users in the now abolished 'autopatrolled' user group on Wikidata/Test Wikidata was ignored. That https://www.wikidata.org/w/index.php?title=Special:ListUsers&group=autopatrolled and https://test.wikidata.org/w/index.php?title=Special:ListUsers&group=autopatrolled still contain users already caused some confusion within the community and thus I open a new bug to get that resolved. Thank you.
Comment 1 This, that and the other (TTO) 2013-11-16 05:57:46 UTC
Not really an enhancement: these users were supposed to have been removed but weren't.

Just needs a couple of simple database queries to be run.
Comment 2 db [inactive,noenotif] 2013-11-16 11:05:11 UTC
delete from user_groups where ug_group = 'autopatrolled'; commit;
Comment 3 Sam Reed (reedy) 2013-11-19 18:10:35 UTC
mysql:wikiadmin@db1058 [wikidatawiki]> delete from user_groups where ug_group = 'autopatrolled'; commit;
Query OK, 1855 rows affected (0.02 sec)

Query OK, 0 rows affected (0.00 sec)

mysql:wikiadmin@db1038 [testwikidatawiki]> delete from user_groups where ug_group = 'autopatrolled'; commit;
Query OK, 7 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

mysql:wikiadmin@db1038 [testwikidatawiki]>
Comment 4 Vogone 2013-11-19 19:35:41 UTC
It seems like something was forgotten as the 'autopatrolled' group still shows up in for example https://www.wikidata.org/w/index.php?title=Special%3AListUsers&username=1971markus&group=&limit=1.
Comment 5 Sam Reed (reedy) 2013-11-22 12:54:48 UTC
Cached user objects

mysql:wikiadmin@db1058 [wikidatawiki]> select * from user_groups where ug_group = 'autopatrolled';
Empty set (0.01 sec)

mysql:wikiadmin@db1058 [wikidatawiki]> select user_id from user where user_name = '1971markus';
+---------+
| user_id |
+---------+
|   94516 |
+---------+
1 row in set (0.00 sec)

mysql:wikiadmin@db1058 [wikidatawiki]> select * from user_groups where ug_user = 94516;
Empty set (0.00 sec)

mysql:wikiadmin@db1058 [wikidatawiki]>


Then:

reedy@tin:~$ mwscript eval.php wikidatawiki
> $user = User::newFromName('1971markus');

> $user->invalidateCache();

> 


Now
1971markus (talk | contribs | block) (Created on 21 January 2013 at 17:19)



It will clear itself up in a while as user objects expire and/or updated

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


Navigation
Links