A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:PopulateContentTables.php below:

Manual:populateContentTables.php - MediaWiki

MediaWiki version:

1.32

populateContentTables.php is a maintenance script that migrates revision data to account for database schema changes done as part of the Multi-Content Revisions project (creation of the content , content_models , slots , slot_roles tables, deprecation of the concept of content formats).

It was introduced in MediaWiki 1.32.0 (phab:T182682).

This script is run automatically by update.php and processes 500 items in a batch.

Option Description Required? --table revision or archive table, or all to populate both Optional --reuse-content Reuse content table rows when the address and model are the same.
This will increase the script's time and memory usage, perhaps significantly. Optional --start-revision Query group to check specifically Optional --start-archive Use an external cluster by name Optional
php maintenance/run.php populateContentTables [ --table| --reuse-content| --start-revision| --start-archive ]

Terminal

$ php maintenance/run.php populateContentTables

Populating revision...
Done populating revision table. Processed 23 rows in 5.3234234427 seconds
Populating archive...
Done populating archive table. Processed 4 rows in 1.2453454356 seconds

Done. Processed 27 rows in 7.1324234451 seconds

In MediaWiki version

1.39.13

and earlier, you must invoke maintenance scripts using

php maintenance/scriptName.php

instead of

php maintenance/run.php scriptName

.

Changes since MediaWiki 1.32.4[edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4