wiki.techinc.nl/includes/resourceloader
Timo Tijhof cdc8b9e011 resourceloader: Don't catch LESS error in ResourceLoaderFileModule
Instead let it throw up to ResourceLoader::makeModuleResponse.. By using
the central logic for exception handling the parse error becomes more
discoverable and obvious.

* The module is marked as in "error" state (currently it would still serve
  the result of file A and C, even if file B has a parse error).
  This matches the behaviour of the javascript checker we have.
* The exception comment is produced on top of the load.php response
  (where users expect it) instead of buried somewhere between the
  different modules and the different files within the modules.
* The exception comment will not be stripped out by CSSMin.
* DRY :)

Without this, debugging less parse errors is harder than it should be.

Bug: 55442
Change-Id: I6510b43f02cf82568b7fd2421209a8e636d5e115
2013-10-14 17:49:21 +00:00
..
ResourceLoader.php exception: Move logging logic to static method of MWExceptionHandler 2013-10-14 05:00:40 +00:00
ResourceLoaderContext.php ResourceLoader: Prevent prefixless modules from overwriting others 2013-05-28 10:25:18 +00:00
ResourceLoaderFileModule.php resourceloader: Don't catch LESS error in ResourceLoaderFileModule 2013-10-14 17:49:21 +00:00
ResourceLoaderFilePageModule.php
ResourceLoaderLanguageDataModule.php resourceloader: Support hashes as cache invalidation trigger 2013-10-07 23:00:38 +02:00
ResourceLoaderLESSFunctions.php LESS embeddable(): Use lessc::toBool 2013-10-03 17:53:36 -07:00
ResourceLoaderModule.php resourceloader: Support hashes as cache invalidation trigger 2013-10-07 23:00:38 +02:00
ResourceLoaderNoscriptModule.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-19 22:03:05 +02:00
ResourceLoaderSiteModule.php Remove the $wgHandheldStyle config variable entirely 2013-05-19 15:39:34 +02:00
ResourceLoaderStartUpModule.php Merge "Title: Add byte class to unicode class conversion for js" 2013-09-27 17:58:45 +00:00
ResourceLoaderUserCSSPrefsModule.php Remove Persian from link underlining removal 2013-07-27 18:49:30 +00:00
ResourceLoaderUserGroupsModule.php Fixed spacing in logging/parser/profiler/rl/revdel/search folder 2013-04-20 17:38:24 +02:00
ResourceLoaderUserModule.php ResourceLoader: Honor $wgAllow* settings in site/user modules 2013-04-03 23:46:11 +02:00
ResourceLoaderUserOptionsModule.php Combine JavaScript and JSON encoding logic 2013-03-27 20:22:45 -04:00
ResourceLoaderUserTokensModule.php phpcs: Pass includes/resourceloader/ 2013-04-03 02:16:02 +02:00
ResourceLoaderWikiModule.php resourceloader: Consistently use 'resourceloader' log group 2013-05-20 19:35:11 +00:00