Manual:migrateLinksTable.php
MediaWiki version: | ≥ 1.39 |
MediaWiki file: migrateLinksTable.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | MigrateLinksTable |
Details
editmigrateLinksTable.php file is a maintenance script to populate normalization column in links tables.
Options/Arguments
editOption | Description | Default | Required? |
---|---|---|---|
--sleep | Sleep time (in seconds) between every batch. | 0 | Optional |
--table | Table name, like templatelinks |
Required |
Usage
editphp maintenance/run.php migrateLinksTable [ --sleep seconds ] --table table
Terminal
$ php maintenance/run.php migrateLinksTable --table templatelinks
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
.