Last modified: 2014-06-26 23:30:21 UTC
Sometimes when messing locally with different things, a page might look broken. Then I look at the response for a request like: /load.php?debug=false&lang=en&modules=mediawiki.skinning.interface%7Cskins.vector.styles&only=styles&skin=vector&* 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 : mw.loader.state({"mediawiki.skinning.interface":"missing"}); 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.
Change 131342 had a related patch set uploaded by Krinkle: resourceloader: Report problematic modules in only=styles as well https://gerrit.wikimedia.org/r/131342
Change 131342 merged by jenkins-bot: resourceloader: Report problematic modules in only=styles as well https://gerrit.wikimedia.org/r/131342