Manual:$wgResourceLoaderValidateJS/zh

Category:MediaWiki configuration settings/zh#ResourceLoaderValidateJSCategory:MediaWiki configuration settings introduced in version 1.18.0/zh#ResourceLoaderValidateJSCategory:MediaWiki configuration settings still in use/zh#ResourceLoaderValidateJSCategory:Resource loader variables/zh#ResourceLoaderValidateJS
ResourceLoader: $wgResourceLoaderValidateJS
Validate JavaScript code loaded from wiki pages.
引进版本:1.18.0 (r91608)
移除版本:仍在使用
允许的值:()
true

Details

Validate JavaScript code loaded from wiki pages. If a syntax error is found, the script is replaced with a warning logged to the browser console. This ensures errors are found early and consistently (independent of the editor's own browser), and prevents breaking other modules loaded in the same batch from load.php.

Category:JavaScript variables/zh
Category:JavaScript variables/zh Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.18.0/zh Category:MediaWiki configuration settings still in use/zh Category:Resource loader variables/zh