Jump to content

Manual:$wgImgAuthDetails

From mediawiki.org
This page is a translated version of the page Manual:$wgImgAuthDetails and the translation is 40% complete.
Files and file uploads: $wgImgAuthDetails
Display reason access to uploaded file was denied to users (img_auth only)
Introducido en la versión:1.16.0 (r55800)
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false

Detalles

This configuration variable is only applicable if you are using Image Authorization.

For security reasons, you usually don't want your users to know why access was denied, just that it was. When set to false (default), the denial screen is generic.

If you want to change this, you can set $wgImgAuthDetails to 'true' and MediaWiki will give the user the reason why access was denied.

Referencias