Manual:PruneUnusedLinkTargetRows.php/pl
Appearance
| Wersja MediaWiki: | ≥ 1.18 |
| Plik MediaWiki: pruneUnusedLinkTargetRows.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.44.2 • 1.43.5 • 1.39.15 |
| Klasy: | PruneUnusedLinkTargetRows |
Szczegóły
pruneUnusedLinkTargetRows.php file is a maintenance script to prune unused rows in linktarget table.
Options/Arguments
| Opcja | Opis | Domyślne | Wymagane? |
|---|---|---|---|
| --sleep | Sleep time (in seconds) between every batch. | 0 | Optional |
| --start | Start after this lt_id |
Optional |
Użycie
php maintenance/run.php pruneUnusedLinkTargetRows [ --sleep seconds ] [ --start lt_id ]
Terminal
$ php maintenance/run.php pruneUnusedLinkTargetRows Deleting unused linktarget rows... Checking lt_id between 0 and 51... ... Completed clean up linktarget table, 513 rows deleted.
In MediaWiki version 1.39.15 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.