Manual:$wgResourceLoaderValidateJS

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgResourceLoaderValidateJS and the translation is 50% complete.

Other languages:
English • ‎español • ‎polski • ‎日本語
ResourceLoader: $wgResourceLoaderValidateJS
Whether to parse JavaScript module prior to minification to validate them.
Introducido en la versión:1.18.0 (r91608)
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:true

Detalles

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.