Manuale:$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.
Introdotto nella versione:1.5.0
Rimosso nella versione:still in use
Valori concessi:(boolean)
Valore predefinito:True if supported, else false (see below).
Impostazioni: Alfabetiche | Per funzione

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.