Manual:populateContentModel.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.35</tvar>.</translate> <translate> Please see <tvar name=page>populateContentTables.php</tvar> for an alternative way to use this feature.</translate> |
MediaWiki ファイル: populateContentModel.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.41.1 • 1.40.3 • 1.39.7 |
クラス: | PopulateContentModel |
詳細
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.
使用法
php maintenance/populateContentModel.php --ns=1 --table=page
スクリプト固有のパラメーター
オプション/パラメーター | 説明 |
---|---|
--ns | Namespace number to run in, or "all " for all namespaces
|
--table | Table to run in. Must be page , revision or archive
|