Manual:populateContentModel.php
This feature was removed from MediaWiki core in version 1.35. Please see populateContentTables.php for an alternative way to use this feature. |
MediaWiki file: populateContentModel.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.1 • 1.39.5 • 1.35.13 |
Classes: | PopulateContentModel |
Details edit
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 edit
php maintenance/populateContentModel.php --ns=1 --table=page
Script specific parameters edit
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
|