Manual:PopulateBacklinkNamespace.php
Este recurso foi removido completamente na versão 1.43. |
Versões do MediaWiki: | 1.24 – 1.43 |
Arquivo MediaWiki: populateBacklinkNamespace.php | |
---|---|
Local: | maintenance/ |
Código fonte: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | PopulateBacklinkNamespace |
Detalhes
O arquivo populateBacklinkNamespace.php é um script de manutenção que preenche os campos *_from_namespace
.
Options
Option | Description | Required |
---|---|---|
--lastUpdatedId | Highest page_id with updated links | Optional |
Usage
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
.