Instead, use Language->formatSize() with the relevant Language object.
* Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
+* EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
+ use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
* @file
*/
-use MediaWiki\MediaWikiServices;
-
/**
* Factory class for spawning EventRelayer objects using configuration
*
$this->configByChannel = $config;
}
- /**
- * @deprecated since 1.27 Use MediaWikiServices::getInstance()->getEventRelayerGroup()
- * @return EventRelayerGroup
- */
- public static function singleton() {
- wfDeprecated( __METHOD__, '1.27' );
- return MediaWikiServices::getInstance()->getEventRelayerGroup();
- }
-
/**
* @param string $channel
* @return EventRelayer Relayer instance that handles the given channel