Default $wgCommentTableSchemaMigrationStage to MIGRATION_NEW
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 7 Nov 2018 19:50:27 +0000 (14:50 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 28 Nov 2018 18:59:19 +0000 (13:59 -0500)
commitfd5a1842d2d63fd6c7dd07358757d31dba635b28
treef7c1df75433832e2249104db572b59de8671229b
parent23ecc9744afbdd583f435779e9ffd1a4479e6c93
Default $wgCommentTableSchemaMigrationStage to MIGRATION_NEW

WRITE_NEW mode seems to be working well on Wikimedia sites. Let's change
the default to MIGRATION_NEW so existing installs and Wikimedia CI will
start using the new code rather than the old.

This also fixes some unit tests that were broken with MIGRATION_NEW, and
updates some that were forcing MIGRATION_OLD to force MIGRATION_NEW
instead.

Bug: T166733
Change-Id: I7bf4ad0105dd1f6cc49eba3ddcb7a51badcd5ed3
Depends-On: I30f7cdcc3875f3f7af116c1e41e88f62ab9e91d0
includes/DefaultSettings.php
tests/phpunit/includes/Revision/RevisionStoreDbTestBase.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/RevisionTest.php
tests/phpunit/includes/page/PageArchiveMcrTest.php
tests/phpunit/includes/page/PageArchivePreMcrTest.php
tests/phpunit/includes/page/PageArchiveTestBase.php
tests/phpunit/includes/page/WikiPageDbTestBase.php