https://bugzilla.wikimedia.org/show_bug.cgi?id=55366
Bartosz Dziewoński <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Assignee|[email protected]. |[email protected] |org | Target Milestone|--- |MW 1.22 version Flags| |Backport_to_Stable? --- Comment #1 from Bartosz Dziewoński <[email protected]> --- This is because TimedMediaHandler touches the $wgFileExtensions array in an inappropriate way. // Remove mp4 if not enabled: if( $wgTmhEnableMp4Uploads === false ){ foreach( $wgFileExtensions as $inx => $val ) { if( $val == 'mp4' ){ unset( $wgFileExtensions[$inx] ); } } } This piece of code causes a certain value in that array to be missing. PHP accepts it (since its arrays are also maps), but this results in the array being serialized to JavaScript as an object, not an array, breaking UploadWizard which expects the latter. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
