Podręcznik:populateRevisionSha1.php
Ta funkcja została całkowicie usunięta z jądra MediaWiki w wersji 1.43. |
Wersje MediaWiki: | 1.19 – 1.43 |
Plik MediaWiki: populateRevisionSha1.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Klasy: | PopulateRevisionSha1 |
Szczegóły
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
The script does not take any options or arguments as input.
Usage
php maintenance/run.php populateRevisionSha1
Terminal
$ php maintenance/run.php populateRevisionSha1 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.
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.