Remove ULSMobileWebfontsEnabled

To my knowledge never used since it was added in in 2013 with
commit fd885d9881.

Bug: T332837
Change-Id: Ia9ecb3e4dd47b8ce4dfaaa489a1ec5a71c378492
This commit is contained in:
Niklas Laxström
2023-03-23 11:55:35 +02:00
committed by jenkins-bot
parent 0c3080135f
commit 7d20f15b17
3 changed files with 0 additions and 81 deletions

View File

@@ -35,7 +35,6 @@ use MediaWiki\Preferences\Hook\GetPreferencesHook;
use MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook;
use MediaWiki\Skins\Hook\SkinAfterPortletHook;
use MediaWiki\User\UserOptionsLookup;
use MobileContext;
use OutputPage;
use RequestContext;
use Skin;
@@ -527,21 +526,6 @@ class Hooks implements
}
}
/**
* Add basic webfonts support to the mobile interface (via MobileFrontend extension)
* Hook: EnterMobileMode
* @param MobileContext $context
*/
public function onEnterMobileMode( MobileContext $context ) {
// Currently only supported in mobile Beta mode
if ( $this->config->get( 'ULSEnable' ) &&
$this->config->get( 'ULSMobileWebfontsEnabled' ) &&
$context->isBetaGroupMember()
) {
$context->getOutput()->addModules( 'ext.uls.webfonts.mobile' );
}
}
/**
* @param OutputPage $out
* @return string|null