Manual:$wgResourceLoaderValidateStaticJS

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

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

詳細[edit]

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.