Manual:$wgDisableUploadScriptChecks

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
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
Other settings: Alphabetical | By function

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.