Manual:PurgeExpiredUserrights.php/ru
Appearance
| Версия MediaWiki: | ≥ 1.31 |
| Файл MediaWiki: purgeExpiredUserrights.php | |
|---|---|
| Расположение: | maintenance/ |
| Исходный код: | master • 1.45.0 • 1.44.2 • 1.39.15 |
| Классы: | PurgeExpiredUserrights |
Подробнее
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.
Usage
php maintenance/run.php purgeExpiredUserrights
Terminal
$ php maintenance/run.php purgeExpiredUserrights Purging expired user rights... 9 rows purged.
В MediaWiki версии 1.39.15 и ранее скрпиты обслуживания нужно вызывать через
php maintenance/scriptName.php, а не через php maintenance/run.php scriptName.