mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-15 03:34:10 +00:00
MathMathSymbolsDataModule: Remove origin restriction
Without this change it would no longer load in safe mode (T185303) because the module would be missing. I think this has been copy-pasted from VisualEditor, see commit I6d097ccbf1dc2462843219adcf96bf8313e30289 there for explanation. Bug: T185303 Change-Id: I6644a361d1450c394a7f82dc3dad97515982846d
This commit is contained in:
parent
7349010b55
commit
7270d702f1
|
@ -8,7 +8,6 @@
|
||||||
*/
|
*/
|
||||||
class MathMathSymbolsDataModule extends ResourceLoaderModule {
|
class MathMathSymbolsDataModule extends ResourceLoaderModule {
|
||||||
|
|
||||||
protected $origin = self::ORIGIN_USER_SITEWIDE;
|
|
||||||
protected $targets = [ 'desktop', 'mobile' ];
|
protected $targets = [ 'desktop', 'mobile' ];
|
||||||
|
|
||||||
public function getScript( ResourceLoaderContext $context ) {
|
public function getScript( ResourceLoaderContext $context ) {
|
||||||
|
|
Loading…
Reference in a new issue