Seems reasonable for us to consider adding a way to specify "packed" in RL to skip additional processing of that module.
- Trevor On Sun, Jul 13, 2014 at 6:35 PM, Krinkle <[email protected]> wrote: > On 13 Jul 2014, at 19:40, Max Semenik <[email protected]> wrote: > > > You can bypass minification with &raw=true, but it would kill most of RL > > niceties too. > > > > This is incorrect. ResourceLoader "raw" does not, nor ever has, bypassed > minification. > > "raw" is what bypasses the client loader framework. So instead of > returning a combined > script/styles/messages response to the mw.loader.implement callback, it > returns a raw > response for only scripts, styles or messages – whichever is specified in > the "&only=" > parameter – without a mw.loader.implement or mw.loader.state call. > > This is mostly undocumented and discouraged hack that can be used to fetch > ResourceLoader modules into a non-ResourceLoader context (e.g. Toolserver, > old > versions of MobileFrontend). > > It does not bypass minification. That's what debug=true is for. > > To fetch the scripts with only concatenation and not minification, you can > use &modules=my.module.name&only=scripts&debug=true. Like all unversioned > requests, > this is only cached for 5 to 30 minutes (depending on mediawiki > configuration). > > -- Krinkle > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
