Manual:populateRevisionLength.php
Appearance
この機能は、バージョン 1.43 で完全に除去されました。 |
MediaWiki バージョン: | 1.17 – 1.43 |
MediaWiki ファイル: populateRevisionLength.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.42.3 • 1.41.4 • 1.39.10 |
クラス: | PopulateRevisionLength |
詳細
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
$ php maintenance/populateRevisionLength.php Populating rev_len column ...doing rev_id from 1 to 200 ...doing rev_id from 201 to 400 ...doing rev_id from 401 to 600 ...doing rev_id from 601 to 800 Populating ar_len column ...doing ar_id from 1 to 200 rev_len and ar_len population complete [0 revision rows, 0 archive rows].