wiki.techinc.nl/tests/phpunit/includes/ResourceLoader
Tim Starling 8a4134ed21 ResourceLoader: deliver deprecation warnings as strings
It's awkward to construct a source map when the file contents is
modified after loading. Delivering deprecation warnings as JS code
seems like an odd convention anyway.

So, send the module deprecation warning as an additional parameter to
mediawiki.loader.implement().

Deprecation warnings are no longer displayed in only=scripts mode.

Remove deprecation tests from FileModuleTest since FileModule no longer
has any relevant deprecation code. Add tests to ModuleTest.

Deprecate Module::getDeprecationInformation().

Bug: T47514
Change-Id: I20938cf4ab78afc9a2d72fbd163a7c5f21755820
2023-08-03 14:10:16 +10:00
..
templates ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
ClientHtmlTest.php ResourceLoader: deliver deprecation warnings as strings 2023-08-03 14:10:16 +10:00
ContextTest.php tests: Use MainConfigNames consts to refer config names 2023-06-19 20:21:08 +00:00
DerivativeContextTest.php build: Updating mediawiki/mediawiki-codesniffer to 41.0.0 2023-03-11 19:04:09 +00:00
FileModuleTest.php ResourceLoader: deliver deprecation warnings as strings 2023-08-03 14:10:16 +10:00
ImageModuleTest.php ResourceLoader: Remove unused rasterized URL in ImageModule::getCssDeclarations 2023-07-13 01:52:57 +00:00
LessVarFileModuleTest.php ResourceLoader: Hoist and simplify @covers in test cases 2022-08-23 23:59:17 +00:00
MessageBlobStoreTest.php objectcache: Remove $wgMainWANCache and $wgWANObjectCaches 2023-03-07 22:47:04 +00:00
ModuleTest.php ResourceLoader: deliver deprecation warnings as strings 2023-08-03 14:10:16 +10:00
OOUIImageModuleTest.php ResourceLoader: Remove SVG fallback hack from ImageModule 2023-02-08 01:32:07 +01:00
ResourceLoaderTest.php Fix DB usage in non-database tests 2023-07-21 13:52:47 +02:00
SkinModuleTest.php Create mediawiki.tempUserBanner module 2023-06-30 00:41:46 +00:00
StartUpModuleTest.php ResourceLoader: Raise MW JavaScript startup requirement to ES6 2023-03-30 14:26:05 +01:00
UserOptionsModuleTest.php ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
WikiModuleTest.php tests: Use MainConfigNames consts to refer config names 2023-06-19 20:21:08 +00:00