Manual:migrateLinksTable.php
Appearance
| MediaWiki version: | ≥ 1.39 |
| MediaWiki file: migrateLinksTable.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| 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]php maintenance/run.php migrateLinksTable [ --sleep seconds ] --table table
Terminal
$ php maintenance/run.php migrateLinksTable --table templatelinks
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.