Manual:migrateLinksTable.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.39
<translate> MediaWiki version:</translate> |
MediaWiki file: migrateLinksTable.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
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 | <translate> Optional</translate> |
--table | Table name, like templatelinks |
<translate> Required</translate> |
Usage
php maintenance/migrateLinksTable.php [ --sleep seconds ] --table table
Terminal
$ php maintenance/migrateLinksTable.php --table templatelinks