Jump to content
MediaWiki

Manual:rebuildrecentchanges.php

From mediawiki.org
This page is a translated version of the page Manual:Rebuildrecentchanges.php and the translation is 54% complete.
MediaWiki バージョン:
≧ 1.2
MediaWiki ファイル: rebuildrecentchanges.php
場所: maintenance/
ソース コード: master1.45.11.44.31.43.6
クラス: 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) 省略可能
--wiki Select a wiki when installation is working as a wiki family 省略可能


使用法

phpmaintenance/run.phprebuildrecentchanges[--from|--to|--wiki]
Terminal
$ php maintenance/run.php rebuildrecentchanges
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.
MediaWiki バージョン 1.43.6 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

関連項目

AltStyle によって変換されたページ (->オリジナル) /