Handbuch:EmptyUserGroup.php

This page is a translated version of the page Manual:EmptyUserGroup.php and the translation is 50% complete.
Other languages:
MediaWiki Version:
1.32


Details

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

User rights groups are defined through $wgGroupPermissions . This script is useful when you are removing the user rights group.

Optionen/Argumente

Option Description Notwendig?
<groupname> Group name to be removed Required

Verwendung

php maintenance/emptyUserGroup.php <groupname>


Terminal
$ php maintenance/emptyUserGroup.php sysop

Removing users from sysop...
  ...done! Removed 1 users in total.

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

Siehe auch