Podręcznik:$wgResourceLoaderValidateJS
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgResourceLoaderValidateJS and the translation is 33% complete.
ResourceLoader: $wgResourceLoaderValidateJS | |
---|---|
Validate JavaScript code loaded from wiki pages. |
|
Wprowadzono w wersji: | 1.18.0 (r91608) |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (boolean) |
Domyślna wartość: | true |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
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.