From d3e65ed02e0cbd91297b7352be9886aa0fd4c8a3 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 26 Mar 2019 15:03:45 -0700 Subject: [PATCH] Remove deprecated wfSplitWikiID() function Change-Id: I87c5532effde9d433aef537228aa804f6d751f9b --- RELEASE-NOTES-1.33 | 1 + includes/GlobalFunctions.php | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 83b3cc3a60..97a66fbf00 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -344,6 +344,7 @@ because of Phabricator reports. * The translation of main page in Sardinian (sc) was changed from "Pàgina Base" to "Pàgina printzipale". Existing wikis using this content language need to move the main page or change the name through MediaWiki:Mainpage page. +* wfSplitWikiID(), deprecated in 1.32, has been removed. === Deprecations in 1.33 === * The configuration option $wgUseESI has been deprecated, and is expected diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 55b78acf53..20f3fd0417 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2610,22 +2610,6 @@ function wfWikiID() { } } -/** - * Split a wiki ID into DB name and table prefix - * - * @param string $wiki - * - * @return array - * @deprecated 1.32 - */ -function wfSplitWikiID( $wiki ) { - $bits = explode( '-', $wiki, 2 ); - if ( count( $bits ) < 2 ) { - $bits[] = ''; - } - return $bits; -} - /** * Get a Database object. * -- 2.20.1