Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | * Static function to get the set of video assets |
175 | 175 | * Checks if the file is local or remote and grabs respective sources |
176 | 176 | */ |
177 | | - static public function getSources( &$file , $options=array() ){ |
| 177 | + static public function getSources( &$file , $options = array() ){ |
178 | 178 | if( $file->isLocal() ){ |
179 | 179 | return self::getLocalSources( $file , $options ); |
180 | 180 | }else { |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | * |
187 | 187 | * Because this works on both TimedMediaHandler commons and no TimedMediaHandler commons |
188 | 188 | */ |
189 | | - static public function getRemoteSources(&$file , $options=array() ){ |
| 189 | + static public function getRemoteSources(&$file , $options = array() ){ |
190 | 190 | global $wgMemc; |
191 | 191 | // Setup source attribute options |
192 | 192 | $dataPrefix = in_array( 'nodata', $options )? '': 'data-'; |
— | — | @@ -394,7 +394,7 @@ |
395 | 395 | /** |
396 | 396 | * Get the primary "source" asset used for other derivatives |
397 | 397 | */ |
398 | | - static public function getPrimarySourceAttributes($file, $options){ |
| 398 | + static public function getPrimarySourceAttributes($file, $options = array() ){ |
399 | 399 | global $wgLang; |
400 | 400 | // Setup source attribute options |
401 | 401 | $dataPrefix = in_array( 'nodata', $options )? '': 'data-'; |
— | — | @@ -428,7 +428,7 @@ |
429 | 429 | /** |
430 | 430 | * Get derivative "source" attributes |
431 | 431 | */ |
432 | | - static public function getDerivativeSourceAttributes($file, $transcodeKey, $options){ |
| 432 | + static public function getDerivativeSourceAttributes($file, $transcodeKey, $options = array() ){ |
433 | 433 | $dataPrefix = in_array( 'nodata', $options )? '': 'data-'; |
434 | 434 | |
435 | 435 | |