Followup to r91608: reduce impact of bug 29784 (high jsmin+ memory usage during parsi...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Jul 2011 21:39:06 +0000 (21:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Jul 2011 21:39:06 +0000 (21:39 +0000)
commit49d3d18033738b00def81e4a633ea6d706453f6e
tree8a20f39cc95690230a32ccbee6732dd366cb02f0
parent06217b2f2fee492aa83af4b3429d4e647589733a
Followup to r91608: reduce impact of bug 29784 (high jsmin+ memory usage during parsing) by skipping JS validation on modules backed by files. Unless you're developing them, these will usually be stable, and large individual files like the pre-bundled jQuery can hit memory limits much sooner than we like.

Validation on JS from wiki pages is still on by default ($wgResourceLoaderValidateJS = true).
Validation on static files can be re-enabled by setting $wgResourceLoaderValidateStaticJS = true (defaults false).
includes/DefaultSettings.php
includes/resourceloader/ResourceLoaderFileModule.php