Jump to content

Manual:populateRevisionLength.php

From mediawiki.org
MediaWiki versions:
1.17 – 1.43

Details

[edit]

populateRevisionLength.php file is a maintenance script to populate the rev_len and ar_len fields for old revisions created before MW 1.10.

The rev_len and ar_len fields contain the length of the article in bytes after a new revision or deletion.

This script runs by default when you run update.php . It processes 200 items in a batch.

Options/arguments

[edit]

This script does not take any options or arguments.

Usage

[edit]
php maintenance/run.php populateRevisionLength
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]