r88069 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88068‎ | r88069 | r88070 >
Date:13:08, 14 May 2011
Author:hartman
Status:deferred
Tags:
Comment:
2nd argument of getPrimarySourceAttributes() should be an array, not a string.
Modified paths:
  • /trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php
@@ -214,7 +214,7 @@
215215 {
216216 // Commons does not yet have TimedMediaHandler.
217217 // Use the normal file repo system single source:
218 - return array( self::getPrimarySourceAttributes( $file, $dataPrefix ) );
 218+ return array( self::getPrimarySourceAttributes( $file, array( $dataPrefix ) ) );
219219 }
220220 $sources = array();
221221 // Generate the source list from the data response:

Status & tagging log