Last modified: 2014-10-15 20:15:50 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 T74051, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72051 - removeUnusedAccounts.php fails to ignore users in group specified using --ignore-groups option
removeUnusedAccounts.php fails to ignore users in group specified using --ign...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
unspecified
PC Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-14 20:21 UTC by David Booth
Modified: 2014-10-15 20:15 UTC (History)
2 users (show)

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


Attachments

Description David Booth 2014-10-14 20:21:52 UTC
Bug in mediawiki-core / maintenance / removeUnusedAccounts.php 
(Is this the correct place to report it?  If not, where is?)

The removeUnusedAccounts.php script has an option to ignore users that belong to specified groups, to avoid deleting them.  For example, to ignore any user in the administrator group, the script would be run as:

  php removeUnusedAccounts.php --ignore-groups=administrator

However, it does not seem to work correctly, because it still lists the user "Abuse filter" even though that user belongs to the administrator group.

As a workaround, I created a Talk page for "Abuse filter", and this (as a side effect) caused it to be ignored.
Comment 1 Andre Klapper 2014-10-15 10:28:18 UTC
Thanks for taking the time to report this!
Which MW version is this about?
Comment 2 Kunal Mehta (Legoktm) 2014-10-15 20:15:50 UTC
The actual group is named "sysop", so you probably need to use that.

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


Navigation
Links