Manual:$wgResourceLoaderValidateJS/ko
Appearance
| ResourceLoader: $wgResourceLoaderValidateJS | |
|---|---|
| Validate JavaScript code loaded from wiki pages. |
|
| 이 변수가 소개된 버전: | 1.18.0 (r91608) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (boolean) |
| 기본값: | true |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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.