Manual:populateRevisionLength.php

From Linux Web Expert

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.17
<translate> MediaWiki version:</translate>

Details

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

This script does not take any options or arguments.

Usage

php maintenance/populateRevisionLength.php


Terminal

See also