MediaWiki file: populateRevisionSha1.php
Location: maintenance/
Source code: master 1.40.0 1.39.4 1.35.11
Classes: PopulateRevisionSha1

Details

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

populateRevisionSha1 does not take any options or arguments as input.

Usage

php maintenance/populateRevisionSha1.php


Terminal
$ php maintenance/populateRevisionSha1.php

Populating rev_sha1 column
...doing rev_id from 1 to 200
Populating ar_sha1 column
...archive table seems to be empty.
Populating ar_sha1 column legacy rows
rev_sha1 and ar_sha1 population complete [0 revision rows, 0 archive rows].
If it shows "Update 'populate rev_sha1' already logged as completed" then run with --force option.

See also

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.