/**
  * Shown in file history box on image description page.
  *
  * @access	public
  * @param	File	$file
  * @return	string	Dimensions
  */
 public function getDimensionsString($file)
 {
     global $wgLang;
     $probe = new FFProbe($file->getLocalRefPath());
     $format = $probe->getFormat();
     $stream = $probe->getStream("a:0");
     if ($format === false || $stream === false) {
         return parent::getDimensionsString($file);
     }
     return wfMessage('ev_audio_short_desc', $wgLang->formatTimePeriod($format->getDuration()))->text();
 }