Go to the documentation of this file.
37 if ( !is_array( $meta ) ) {
39 throw new MWException(
'Metadata array is not an array' );
43 return serialize( $meta );
47 wfDebug( __METHOD__ .
': ' .
$e->getMessage() .
"\n" );
75 if ( $wgJpegTran && is_file( $wgJpegTran ) ) {
80 wfDebug( __METHOD__ .
": running jpgtran: $cmd\n" );
getMetadata( $image, $filename)
Get handler-specific metadata which will be saved in the img_metadata field.
Stuff specific to JPEG and (built-in) TIFF handler.
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
wfProfileIn( $functionname)
Begin profiling of a function.
wfShellExecWithStderr( $cmd, &$retval=null, $environ=array(), $limits=array())
Execute a shell command, returning both stdout and stderr.
wfProfileOut( $functionname='missing')
Stop profiling of a function.
when a variable name is used in a it is silently declared as a new masking the global
wfDebug( $text, $dest='all')
Sends a line to the debug log if enabled or, optionally, to a comment in output.
wfEscapeShellArg()
Windows-compatible version of escapeshellarg() Windows doesn't recognise single-quotes in the shell,...
if(PHP_SAPI !='cli') $file
getRotation( $file)
On supporting image formats, try to read out the low-level orientation of the file and return the ang...
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a account incomplete not yet checked for validity & $retval