ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 4 Aug 2017 13:18:52 +0000 (15:18 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 4 Aug 2017 13:18:52 +0000 (15:18 +0200)
commit36d6c12f765651057096f6153379d18d3590fe9e
treeb6f8eb5970b67266757786870a695b7f0a59c137
parentdbfae05d39b3aa8c874b5d33a1f47d3a9bc1585c
ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode

Since this subclasses ResourceLoaderFileModule, in debug mode
it was loaded  by embedding the .js files directly, which caused
the 'wgFragmentMode' config variable to not be set (since the
code to do it was not sent to the client). Disallow this.

Bug: T172512
Change-Id: I1af944e4f4946023519e3453295b04a6cbca9fa3
includes/resourceloader/ResourceLoaderMediaWikiUtilModule.php