From: Brad Jorsch Date: Tue, 10 Sep 2019 18:22:18 +0000 (-0400) Subject: Deprecate $wgContentHandlerUseDB X-Git-Tag: 1.34.0-rc.0~273^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=165d3cc50b0c0cb43eb284f6c21a8d1b7b4a7ceb Deprecate $wgContentHandlerUseDB 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 --- diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index b8c9102d82..06d5c009b4 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -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 === * … diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c9bed29398..47fd073153 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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;