Manual:$wgStrictFileExtensions

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgStrictFileExtensions and the translation is 30% complete.

Other languages:
English • ‎Nederlands • ‎Tagalog • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎中文 • ‎日本語
Imágenes subidas: $wgStrictFileExtensions
Toggle whether users may upload files not covered by $wgFileExtensions .
Introducido en la versión:1.2.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:true

Detalles

If set to true, users will only be able to upload files with specifically permitted extensions (see $wgFileExtensions ).

If set to false, users will be able to upload files with almost any extension. A user attempting to upload a file whose extension is not in $wgFileExtensions will receive a warning message. However, they may choose to ignore the message and upload the file anyway (assuming the file's extension is not in the $wgFileBlacklist ).

Advertencia Advertencia: Setting this to false is insecure for public wikis.

See also