Jump to content

Podręcznik:$wgAllowJavaUploads

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowJavaUploads and the translation is 33% complete.
Files and file uploads: $wgAllowJavaUploads
Allow Java archive uploads.
Wprowadzono w wersji:1.18.0 (r82783)
Usunięto w wersji:1.39.0 (Gerrit change 788451; git #910d1466)
Dozwolone wartości:(boolean)
Domyślna wartość:false

Szczegóły

Allow Java archive uploads. 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

Wersja MediaWiki:
1.39

To retain the ability to allow uploading JAR files, remove application/java from $wgMimeTypeExclusions .