Manual:$wgDisableUploadScriptChecks/zh

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Files and file uploads</translate>: $wgDisableUploadScriptChecks
是否禁用上传系统对于HTML/JavaScript的检查。
<translate> Introduced in version:</translate>1.19.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(布尔值)
<translate> Default value:</translate>false

详情

是否禁用上传系统对于HTML/JavaScript的检查。

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> 将此设置为 true 对于公开编辑的站点很危险,故应使用$wgGroupPermissions 来限制仅允许您信任的人上传。