From: Alangi Derick Date: Sun, 4 Nov 2018 13:40:55 +0000 (+0100) Subject: Soft deprecate Title::getUserCaseDBKey() X-Git-Tag: 1.34.0-rc.0~3255^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=5e921a6ce408692dbbb40db3538cfeee6c3b18a4;p=lhc%2Fweb%2Fwiklou.git Soft deprecate Title::getUserCaseDBKey() Identifiers of groups are encouraged to be in lowercases, so we'll soft deprecate this rarely-used method now and remove it later. Bug: T202094 Change-Id: Idee1b7f491dbe1114b4489fda3c16be70175f2d8 --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index f6c819d3a6..7ad78ef702 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -121,6 +121,8 @@ because of Phabricator reports. This will help identify the issue if you added it to $wgAuthManagerConfig. * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki domain ID as a key component and use makeGlobalKey(). +* (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use + Title::getDBKey(), which doesn't vary case. * … === Other changes in 1.33 === diff --git a/includes/Title.php b/includes/Title.php index 038e8b1b20..f480c305eb 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -954,6 +954,7 @@ class Title implements LinkTarget { /** * Get the DB key with the initial letter case as specified by the user + * @deprecated since 1.33; please use Title::getDBKey() instead * * @return string DB key */