Manual:PopulateContentModel.php/ja

Category:MediaWiki deprecated or obsolete features/ja#PopulateContentModel.php Category:MediaWiki code/ja#PopulateContentModel.php

詳細

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

スクリプト固有のパラメーター

オプション/パラメーター説明
--nsNamespace number to run in, or "all" for all namespaces
--tableTable to run in. Must be page, revision or archive
Category:Maintenance scripts/ja#PopulateContentModel.php
Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:MediaWiki deprecated or obsolete features/ja