mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
ce27a400e1
The isModuleRegistered() method was introduced a few years ago, when the load order in ResourceLoader was undergoing a change. It used to be that hooks like were run first to register modules, and then wgResourceModules was registered afterwards. This was reversed to disallow mutating the config at run-time from foreign modules and to allow better caching and error detection. It's been several years since then, so this redundant check is no longer needed. ServiceWiring.php in MW core for ResourceLoader always processes config and extension.json first before this hook is called. Bug: T247265 Change-Id: I466f1fa70b8f0e9fe5e8e8df90bb0001b3329b87 |
||
---|---|---|
.. | ||
unit | ||
CiteCSSFileModuleTest.php | ||
CiteDbTest.php | ||
CiteHooksTest.php | ||
CiteIntegrationTest.php | ||
ReferenceMessageLocalizerTest.php |