This would be used by MultimediaViewer to show an icon next to the
link to the description page (and probably makes sense to include
$wgFavicon if $wgLogo is there, anyway).
Bug: 59925
Change-Id: Ibdad9c3d2b515fbfdcd458db9b061f4d4d375180
$data['imagelimits'][$k] = array( 'width' => $limit[0], 'height' => $limit[1] );
}
+ if ( !empty( $GLOBALS['wgFavicon'] ) ) {
+ $data['favicon'] = $GLOBALS['wgFavicon'];
+ }
+
wfRunHooks( 'APIQuerySiteInfoGeneralInfo', array( $this, &$data ) );
return $this->getResult()->addValue( 'query', $property, $data );