Manual:$wgResourceLoaderValidateJS

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

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Resource loader: $wgResourceLoaderValidateJS
Whether to parse JavaScript module prior to minification to validate them.
導入されたバージョン: 1.18.0 (r91608)
除去されたバージョン: 使用中
可能な値: 真偽値
既定値: true
他の設定: アルファベット順 | 機能順

詳細[edit]

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.