Manual:purgeExpiredUserrights.php
MediaWiki version: | ≥ 1.31 |
MediaWiki file: purgeExpiredUserrights.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | PurgeExpiredUserrights |
Details
editpurgeExpiredUserrights.php is a maintenance script to remove user right assignments which have expired (ug_expiry
is before current time) from the user_groups
table and add them to the user_former_groups
table.
Options/Arguments
editThis script does not take any options/arguments.
Usage
editphp maintenance/purgeExpiredUserrights.php
Terminal
$ php maintenance/purgeExpiredUserrights.php Purging expired user rights... 9 rows purged.