| ResourceLoader: $wgResourceLoaderValidateJS | |
|---|---|
| Whether to parse JavaScript module prior to minification to validate them. |
|
| Introduced in version: | 1.18.0 (r91608) |
| Removed in version: | still in use |
| Allowed values: | (boolean) |
| Default value: | true |
| Other settings: Alphabetical | By function | |
Details
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to validate them.
Parse errors will result in a JS exception being thrown during module load, which avoids breaking other modules loaded in the same request.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.