Manual:CleanupWatchlist.php/ko
Appearance
| 미디어위키 버전: | ≥ 1.6 |
| 미디어위키 파일: cleanupWatchlist.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | WatchlistCleanup |
상세
cleanupWatchlist.php file is a maintenance script to clean up broken, unparseable titles in the watchlist.
옵션
| Option/Parameter | Description | Required |
|---|---|---|
| --fix | Actually clean up titles; otherwise just checks for them. | Optional |
사용법
php maintenance/run.php cleanupWatchlist [ --fix ]
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.Terminal
$ php maintenance/run.php cleanupWatchlist Dry run only: use --fix to enable updates Checking and fixing bad titles... Processing watchlist... invalid watch by 1 for (7, "ABC") Finished watchlist... 0 of 33 rows updated
It will only count the number of possible updates and output the result, without fixing the value.
To clean up the watchlist, run the command with --fix.
Terminal
$ php maintenance/run.php cleanupWatchlist --fix Checking and fixing bad titles... Processing watchlist... invalid watch by 1 for (7, "ABC") - removed Finished watchlist... 1 of 33 rows updated