From: Timo Tijhof Date: Sat, 30 Mar 2019 02:57:57 +0000 (+0000) Subject: resourceloader: Remove deprecated MessageBlobStore::getBlob X-Git-Tag: 1.34.0-rc.0~2221^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%22%20.%20generer_url_entite%28%24id_rubrique%2C?a=commitdiff_plain;h=482c3a657c3ab757969b9ad61699b330591396cd;p=lhc%2Fweb%2Fwiklou.git resourceloader: Remove deprecated MessageBlobStore::getBlob This class is basically `@internal`, but not yet marked as such. The only non-core use case is a WikimediaMaintenance script, so I suppose we can keep it public. It's purpose is for batching, the single blob method is not used anywhere in Wikimedia Git. Change-Id: If2a0497b1412efbfd55b34b512d2b9e5346359fb --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 6e5de2c76f..2b514af713 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -346,6 +346,8 @@ because of Phabricator reports. 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. +* MessageBlobStore::getBlob(), deprecated in 1.27, has been removed. + Use ::getBlobs() instead. === Deprecations in 1.33 === * The configuration option $wgUseESI has been deprecated, and is expected diff --git a/includes/resourceloader/MessageBlobStore.php b/includes/resourceloader/MessageBlobStore.php index ceb51f2d3f..b7c19042ca 100644 --- a/includes/resourceloader/MessageBlobStore.php +++ b/includes/resourceloader/MessageBlobStore.php @@ -121,14 +121,6 @@ class MessageBlobStore implements LoggerAwareInterface { return $blobs; } - /** - * @deprecated since 1.27 Use getBlobs() instead - * @return array - */ - public function get( ResourceLoader $resourceLoader, $modules, $lang ) { - return $this->getBlobs( $modules, $lang ); - } - /** * @since 1.27 * @param ResourceLoaderModule $module