Manual:$wgResourceLoaderValidateStaticJS/ja
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.32.0</tvar>.</translate> |
<translate> ResourceLoader</translate>: $wgResourceLoaderValidateStaticJS | |
---|---|
Whether to parse statically-sourced (file-backed) JavaScript resources prior to minification to validate them. |
|
<translate> Introduced in version:</translate> | 1.18.0 (r91914) |
<translate> Removed in version:</translate> | 1.32.0 (Gerrit change 454081; git #3bd1910f) |
<translate> Allowed values:</translate> | (真偽値) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
詳細
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.