Manual:migrateLinksTable.php
Appearance
From mediawiki.org
MediaWiki version:
≥ 1.39
MediaWiki file: migrateLinksTable.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classes: | MigrateLinksTable |
Details
[edit ]migrateLinksTable.php file is a maintenance script to populate normalization column in links tables.
Options/Arguments
[edit ]Option | Description | Default | Required? |
---|---|---|---|
--sleep | Sleep time (in seconds) between every batch. | 0 | Optional |
--table | Table name, like templatelinks |
Required |
Usage
[edit ]phpmaintenance/run.phpmigrateLinksTable[--sleepseconds]--tabletable
Terminal
$ php maintenance/run.php migrateLinksTable --table templatelinks
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
.