Manual:MigrateLinksTable.php
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
migrateLinksTable.php file is a maintenance script to populate normalization column in links tables.
Options/Arguments
Option | Description | Default | Required? |
---|---|---|---|
--sleep | Sleep time (in seconds) between every batch. | 0 | Optional |
--table | Table name, like templatelinks | Required |
Usage
php maintenance/run.php migrateLinksTable [ --sleep seconds ] --table table
Terminal
$ php maintenance/run.php migrateLinksTable --table templatelinks
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using
Category:Maintenance scripts#MigrateLinksTable.php
Category:Database maintenance scriptsphp maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.