Manual:$wgShowEXIF/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> EXIF</translate>: $wgShowEXIF
Show EXIF data at the end of file description pages.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>null (1.38.2+)
true if supported, else false (see below). (1.5-1.38.1)

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.