From: Aaron Schulz Date: Sun, 21 Oct 2018 07:47:26 +0000 (-0700) Subject: Deprecate hacky wfSplitWikiID() method X-Git-Tag: 1.34.0-rc.0~3632^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=a5352157c7209084c85ac1bacc6c4b06f8c423f0;p=lhc%2Fweb%2Fwiklou.git Deprecate hacky wfSplitWikiID() method Change-Id: I59095ee7cc39f634d124fa711ec01a5a5d188d23 --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index e3bd20810d..999cda8782 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -81,6 +81,8 @@ because of Phabricator reports. * The LegacyHookPreAuthenticationProvider class, deprecated since its creation in 1.27 as part of the AuthManager re-write, now emits deprecation warnings. 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(). * … === Other changes in 1.33 === diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 4531b5401b..6e95871885 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2656,6 +2656,7 @@ function wfWikiID() { * @param string $wiki * * @return array + * @deprecated 1.32 */ function wfSplitWikiID( $wiki ) { $bits = explode( '-', $wiki, 2 );