Manual:PopulateContentModel.php/fr
Appearance
Cette fonctionnalité a été supprimée du noyau Mediawiki dans la version MediaWiki 1.35.
Voir populateContentTables.php comme manière alternative pour utiliser cette fonctionnalité. |
| Fichier MediaWiki : populateContentModel.php | |
|---|---|
| Emplacement : | maintenance/ |
| Code source : | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Classes : | PopulateContentModel |
Détails
populateContentModel.php file is a maintenance script to populate the various fields that describe the content model of pages and revisions.
It can populate the fields page_content_model from page, rev_content_model and rev_content_format from revision, and ar_content_model and ar_content_format from archive.
Usage
php maintenance/populateContentModel.php --ns=1 --table=page
Script specific parameters
| Option/Parameter | Description |
|---|---|
| --ns | Namespace number to run in, or "all" for all namespaces
|
| --table | Table to run in. Must be page, revision or archive
|