Manual:$wgAllowJavaUploads
![]() | 此功能已在版本1.39.0中完全移除。 |
文件及文件上传: $wgAllowJavaUploads | |
---|---|
允許Java檔案上傳。 |
|
引进版本: | 1.18.0 (r82783) |
移除版本: | 1.39.0 (Gerrit change 788451; git #910d1466) |
允许的值: | (布尔值) |
默认值: | false |
其他设置: 按首字母排序 | 按功能排序 |
详情
允許Java檔案上傳。 This is not recommended for public wikis since a maliciously-constructed applet running on the same domain as the wiki can steal the user's cookies.
Allow uploading JAR files after 1.39.0
MediaWiki版本: | ≥ 1.39 |
To retain the ability to allow uploading JAR files, remove application/java
from $wgMimeTypeExclusions
.