From 7270d702f1a6a27ff5fa68cde4a7631454cb0edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 30 Apr 2018 22:26:06 +0200 Subject: [PATCH] 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 --- src/MathMathSymbolsDataModule.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MathMathSymbolsDataModule.php b/src/MathMathSymbolsDataModule.php index dd89c3b..96a38ba 100644 --- a/src/MathMathSymbolsDataModule.php +++ b/src/MathMathSymbolsDataModule.php @@ -8,7 +8,6 @@ */ class MathMathSymbolsDataModule extends ResourceLoaderModule { - protected $origin = self::ORIGIN_USER_SITEWIDE; protected $targets = [ 'desktop', 'mobile' ]; public function getScript( ResourceLoaderContext $context ) {