Manual:rebuildrecentchanges.php
MediaWiki バージョン: | ≧ 1.2 |
MediaWiki ファイル: rebuildrecentchanges.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.42.1 • 1.41.2 • 1.39.8 |
クラス: | RebuildRecentchanges |
詳細
rebuildrecentchanges.php file is a maintenance script to rebuild recent changes from scratch.
オプション/引数
オプション | Description | 必須かどうか |
---|---|---|
--from | Only rebuild rows in requested time range (in YYYYMMDDHHMMSS format) | 省略可能 |
--to | Only rebuild rows in requested time range (in YYYYMMDDHHMMSS format) | 省略可能 |
使用法
php maintenance/rebuildrecentchanges.php [ --from| --to ]
Terminal
$ php maintenance/rebuildrecentchanges.php Rebuilding $wgRCMaxAge=7776000 seconds (90 days) Clearing recentchanges table for time range... Loading from page and revision tables... Inserting from page and revision tables... Updating links and size differences... Loading from user and logging tables... Flagging bot account edits... Flagging auto-patrolled edits... Removing duplicate revision and logging entries... Deleting feed timestamps. Done.
Running this script marks all previously patrolled edits as unpatrolled.