Manual:purgeExpiredUserrights.php

MediaWiki version:
1.31

Details

edit

purgeExpiredUserrights.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

edit

This script does not take any options/arguments.

Usage

edit
php maintenance/run.php purgeExpiredUserrights
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

edit