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