Manual:PurgeExpiredUserrights.php/fi
Appearance
| MediaWiki version: | ≥ 1.31 |
| tiedosto MediaWiki: purgeExpiredUserrights.php | |
|---|---|
| Sijainti: | maintenance/ |
| Lähdekoodi: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Sarjat: | PurgeExpiredUserrights |
Details
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
This script does not take any options/arguments.
Käyttö
php maintenance/run.php purgeExpiredUserrights
Terminal
$ php maintenance/run.php purgeExpiredUserrights Purging expired user rights... 9 rows purged.
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.