Manual:PopulateContentModel.php/en

Details
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  from page,   and   from revision, and   and   from archive.

Usage
php maintenance/populateContentModel.php --ns=1 --table=page