Manual:populateBacklinkNamespace.php
Appearance
This feature was removed completely in version 1.43. |
MediaWiki versions: | 1.24 – 1.43 |
MediaWiki file: populateBacklinkNamespace.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | PopulateBacklinkNamespace |
Details
[edit]populateBacklinkNamespace.php file is a maintenance script to populate *_from_namespace
fields.
Options
[edit]Option | Description | Required |
---|---|---|
--lastUpdatedId | Highest page_id with updated links | Optional |
Usage
[edit]php maintenance/run.php populateBacklinkNamespace [ --lastUpdatedId ]
Terminal
$ php maintenance/run.php populateBacklinkNamespace Updating *_from_namespace fields in links tables. ...doing page_id from 1 to 200 ...doing page_id from 201 to 400 ...doing page_id from 401 to 600 ...doing page_id from 601 to 800 ...doing page_id from 801 to 1000
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
.