Manuel:PopulateBacklinkNamespace.php
Appearance
![]() | Cette fonctionnalité a été supprimée entièrement dans la version 1.43. |
Versions de MediaWiki : | 1.24 – 1.43 |
Fichier MediaWiki : populateBacklinkNamespace.php | |
---|---|
Emplacement : | maintenance/ |
Code source : | master • 1.43.0 • 1.42.5 • 1.39.11 |
Classes : | PopulateBacklinkNamespace |
Détails
Le fichier populateBacklinkNamespace.php est un script de maintenance servant à remplir les champs *_from_namespace
.
Options
Option | Description | Obligatoire |
---|---|---|
--lastUpdatedId | Le page_id le plus haut avec des liens à jour. | optionnel |
Utilisation
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
.