Manual:$wgAllowJavaUploads

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowJavaUploads and the translation is 83% complete.
ファイルとファイル アップロード: $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 .