Jump to content

User:Eisheeta/Sandbox/maintenance/emptyUserGroup.php

From mediawiki.org

Details

[edit]

emptyUserGroup.php file is a maintenance script that removes all users from a given group.


The only parameter, in addition to standard ones, is name of the group to be removed. See below section for example:

Usage

[edit]
php emptyUserGroup.php "group name"

If name of the group contains whitespace, it should be enclosed in double quotes ("), as shown in example.

See also

[edit]