Drop RL targets definitions from module class
Now equal to the default in 1.40 - 01aec63c Bug: T328497 Change-Id: Ibe7c9b81269a4d31fe26930b912d41191c1ac9ab
This commit is contained in:
@@ -28,14 +28,6 @@ class ResourceLoaderULSJsonMessageModule extends Module {
|
||||
return [ 'ext.uls.i18n' ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get supported mobile targets
|
||||
* @return string[] supported targets
|
||||
*/
|
||||
public function getTargets() {
|
||||
return [ 'desktop', 'mobile' ];
|
||||
}
|
||||
|
||||
/**
|
||||
* @suppress PhanParamSignatureRealMismatchParamType, UnusedSuppression -- T308443
|
||||
* @param Context $context
|
||||
|
||||
@@ -31,9 +31,6 @@ use MediaWiki\ResourceLoader\ResourceLoader;
|
||||
* ResourceLoader module for UniversalLanguageSelector
|
||||
*/
|
||||
class ResourceLoaderULSModule extends Module {
|
||||
/** @var string[] */
|
||||
protected $targets = [ 'desktop', 'mobile' ];
|
||||
|
||||
/**
|
||||
* Get all the dynamic data for the content language to an array.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user