Deprecate $wgContentHandlerUseDB
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 Sep 2019 18:22:18 +0000 (14:22 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 Sep 2019 19:04:26 +0000 (15:04 -0400)
This was a "wait for DB schema change" feature flag that stuck around
for far too long.

Also of note is that setting $wgMultiContentRevisionSchemaMigrationStage
above SCHEMA_COMPAT_OLD, which has been the default since MW 1.32, will
already raise an exception if this is false.

Bug: T148137
Change-Id: I9a234fc55336660e9f24cac81db88a945348a1a5

RELEASE-NOTES-1.34
includes/DefaultSettings.php

index b8c9102..06d5c00 100644 (file)
@@ -562,6 +562,7 @@ because of Phabricator reports.
   system block that hides the user.
 * The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or
   remove a block.
+* $wgContentHandlerUseDB is deprecated and should always be true.
 
 === Other changes in 1.34 ===
 * …
index c9bed29..47fd073 100644 (file)
@@ -8619,6 +8619,7 @@ $wgContentHandlerTextFallback = 'ignore';
  * handling is less robust and less flexible.
  *
  * @since 1.21
+ * @deprecated since 1.34, and should always be set true.
  */
 $wgContentHandlerUseDB = true;