https://bugzilla.wikimedia.org/show_bug.cgi?id=47437

--- Comment #2 from Krinkle <[email protected]> ---
This change is in harmony of the design and requirements in ResourceLoader
where any compression and packaging is only for improvements. Everything needs
to have a raw mode still and raw mode should not introduce problems.

The default minifier will be used still. And for some environments (those that
can't install things on the server) will likely stick to just the default
minifier.

The extra minification is an optional enhancement. Optional isn't the right
description in my opinion as it won't use it instead of the default minifier,
but on top of the default minifier. Though it won't take the default minifier's
output as input, it will run alongside from an asynchronous job queue. So the
first cache miss will be responded to with the (current) basic minifier.

The extra features regarding conditional code (if MW_DEBUG: mw.log) degrades
gracefully as it is still valid javascript and the MW_DEBUG variable will
simply be set to false. and mw.log already has a no-op dummy in non-debug mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to