Manual:$wgResourceLoaderValidateJS/zh
ResourceLoader: $wgResourceLoaderValidateJS | |
---|---|
Whether to parse JavaScript module prior to minification to validate them. |
|
引进版本: | 1.18.0 (r91608) |
移除版本: | 仍在使用 |
允许的值: | (布尔值) |
默认值: | true |
其他设置: 按首字母排序 | 按功能排序 |
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.