Manual:MigrateComments.php/pl

Szczegóły
migrateComments.php is a maintenance script that migrates comments from pre-1.30 columns to the 'comment' table.

needs to be set to  or   for the script to do the migration.

While migrating comments in a table, the script assumes any rows with the ID field non-zero (e.g.  non-zero) have already been migrated. Also it assumes the new field name is the same as the old with '_id' appended. It blanks the old fields while migrating.

The script migrates the following columns:

The comments are finally stored in the column comment_text in the table.

To improve performance during the run-time of this script, for the tables revision and image, a temporary table named  and   is being used during the migration. These two tables will be merged with the tables revision and images again in the future.

Użycie
