Jump to content

Manual:$wgDisableUploadScriptChecks

From mediawiki.org
Files and file uploads: $wgDisableUploadScriptChecks
Whether to disable the upload system's checks for HTML/JavaScript.
Introduced in version:1.19.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

[edit]

Whether to disable the upload system's checks for HTML/JavaScript.

Warning Warning: Setting this to true is very dangerous on a publicly editable site, so use $wgGroupPermissions to restrict uploading to only those that you trust.