r59435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59434‎ | r59435 | r59436 >
Date:20:15, 25 November 2009
Author:dale
Status:deferred
Tags:
Comment:
* restored copy-by-url uploads in add-media-wizard per r59320 changes
Modified paths:
  • /trunk/phase3/js2/mwEmbed/libAddMedia/mvBaseUploadInterface.js (modified) (history)
  • /trunk/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js (modified) (history)

Diff [purge]

Index: trunk/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js
@@ -819,6 +819,7 @@
820820 //_this.formData[ 'wpIgnoreWarning' ]='true';
821821 _this.formData['wpSourceType'] = 'upload';
822822 _this.formData['action'] = 'submit';
 823+
823824 // wpUploadFile is set by firefogg
824825 delete _this.formData['file'];
825826
Index: trunk/phase3/js2/mwEmbed/libAddMedia/mvBaseUploadInterface.js
@@ -492,8 +492,8 @@
493493 $j( '#up-status-container' ).html(
494494 gM( 'mwe-upload-stats-fileprogress',
495495 [
496 - $mw.lang.formatSize( data.upload['loaded'] ),
497 - $mw.lang.formatSize( data.upload['content_length'] )
 496+ mw.lang.formatSize( data.upload['loaded'] ),
 497+ mw.lang.formatSize( data.upload['content_length'] )
498498 ]
499499 )
500500 );
@@ -504,7 +504,7 @@
505505 $j( '#up-status-container' ).html(
506506 gM( 'mwe-upload-stats-fileprogress',
507507 [
508 - $mw.lang.formatSize( data.upload['loaded'] ),
 508+ mw.lang.formatSize( data.upload['loaded'] ),
509509 gM( 'mwe-upload-unknown-size' )
510510 ]
511511 )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59320* fixed audio vs video display height in remoteMwEmbed rewrite...dale18:45, 21 November 2009

Status & tagging log