Page MenuHomePhabricator

ResourceLoader: load.php requests with only=styles should report if module is missing
Closed, ResolvedPublic


Sometimes when messing locally with different things, a page might look broken.

Then I look at the response for a request like:


And it's near impossible to figure out that something is wrong. In this case, module "mediawiki.skinning.interface" could not be found.

debug=true makes no difference in this regard.

Had it been a regular request that isn't only=styles, it would've contained :


We should probably treat this the same as we do in case of exceptions and other errors in stylesheet requests, namely by prepending a comment to the response body.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:13 AM
bzimport set Reference to bz64826.

Change 131342 had a related patch set uploaded by Krinkle:
resourceloader: Report problematic modules in only=styles as well

Change 131342 merged by jenkins-bot:
resourceloader: Report problematic modules in only=styles as well