From 7271d50bab79231efcedeabf5fbe4db0aa13fa4d Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 4 Jun 2018 13:35:06 -0700 Subject: [PATCH] Deprecate $wgDBmysql5 Bug: T196185 Change-Id: Iea74b5dd1fc49c911dcc0070604f05100e56ce0d --- RELEASE-NOTES-1.31 | 2 ++ includes/DefaultSettings.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index bf038a7ee0..fbe69eb6fa 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -43,6 +43,8 @@ production. framework that it enables. Some extensions mistakenly used this to check whether any AJAX functionality at all should be enabled, further making this problematic to retain. +* $wgDBmysql5 is now deprecated, and will be removed in a future version. It + has been marked as experimental ever since it was introduced. === New features in 1.31 === * (T76554) User sub-pages named ….json are now protected in the same way that diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index fa53703ba8..949e50aa60 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2059,6 +2059,8 @@ $wgDBerrorLogTZ = false; * Even correct usage may cause failures with Unicode supplementary * characters (those not in the Basic Multilingual Plane) unless MySQL * has enhanced their Unicode support. + * + * @deprecated since 1.31 */ $wgDBmysql5 = false; -- 2.20.1