Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎日本語
ResourceLoader: $wgResourceLoaderValidateStaticJS
Whether to parse statically-sourced (file-backed) JavaScript resources prior to minification to validate them.
Introduced in version:1.18.0 (r91914)
Removed in version:still in use
Allowed values:boolean
Default value:false
Other settings: Alphabetical | By function


If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity before being bundled up into ResourceLoader modules.

This can be helpful for development by providing better error messages in default (non-debug) mode, but JavaScript parsing is slow and memory hungry and may fail on large pre-bundled frameworks.