Podręcznik:PurgeExpiredUserrights.php
Appearance
| Wersja MediaWiki: | ≥ 1.31 |
| Plik MediaWiki: purgeExpiredUserrights.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Klasy: | PurgeExpiredUserrights |
Szczegóły
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.
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.