Manual:$wgShowEXIF

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

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎italiano • ‎magyar • ‎português • ‎português do Brasil • ‎日本語
EXIF: $wgShowEXIF
Show EXIF data at the end of file description pages.
Introduzida na versão:1.5.0
Removida na versão:ainda em uso
Valores permitidos:(boolean)
Valor por omissão:True if supported, else false (see below).
Outras configurações: Lista Alfabética | Lista por Função

Details

Show EXIF data at the end of file description pages. Turned on by default if EXIF functionality is available. Requires PHP's EXIF extension [1].

For Windows users: To enable EXIF functions, add the following lines to the "Windows extensions" section of your php.ini file:
extension=extensions/php_mbstring.dll
extension=extensions/php_exif.dll

Default value

The default value is to enable the showing of EXIF data if the system supports it. This is worked out by checking whether the exif_read_data() function exists:

function_exists( 'exif_read_data' );

Do not manually set this value to 'true', as errors may occur if this function is not defined. You may however set it manually to 'false' if you wish to disable this functionality.