MediaWiki version: | ≥ 1.2 |
MediaWiki file: | rebuildrecentchanges.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | RebuildRecentchanges |
Details
rebuildrecentchanges.php file is a maintenance script to rebuild recent changes from scratch.
Options/Arguments
Option | Description | Required? |
---|---|---|
--from | Only rebuild rows in requested time range (in YYYYMMDDHHMMSS format) | Optional |
--to | Only rebuild rows in requested time range (in YYYYMMDDHHMMSS format) | Optional |
Usage
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.See also
- Rebuildall.php
- RefreshLinks.php
- Rebuildtextindex.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.