Manual:PopulateContentTables.php

This maintenance script migrates revision data to account for DB schema changes done as part of the Multi-Content Revisions project (creation of the content and content_models tables, deprecation of the concept of content formats). It's run automatically by update.php.

It was introduced with MediaWiki 1.32.0 with revision rMWc22a2c9f752d56165490d5df786b46db76cc13ba.

See Multi-Content Revisions/Content Meta-Data (or the Content model storage RfC as an earlier, less accurate but more accessible draft) for background.

Changes since MediaWiki 1.32.4

 * Compute sha1 and length if needed in maintenance/populateContentTables.php.