Jump to content

Manual:populateRevisionSha1.php

From mediawiki.org
MediaWiki versions:
1.19 – 1.43

Details

[edit]

populateRevisionSha1.php file is a maintenance script to fill the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19.

Options/arguments

[edit]

The script does not take any options or arguments as input.

Usage

[edit]
php maintenance/run.php populateRevisionSha1
Terminal
If it shows "Update 'populate rev_sha1' already logged as completed" then run with --force option.
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]