r62016 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62015‎ | r62016 | r62017 >
Date:06:36, 5 February 2010
Author:dale
Status:deferred
Tags:
Comment:
* bummed version for gadget update for disabled chunk uploading.
* tested on commons
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/modules/AddMedia/mw.Firefogg.js (modified) (history)
  • /branches/js2-work/phase3/js/mwEmbed/remotes/mediaWiki.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/modules/AddMedia/mw.Firefogg.js
@@ -898,7 +898,7 @@
899899 function /* onDone */ () {
900900 mw.log( 'done with encoding do POST upload:' + _this.form.action );
901901
902 - var uploadRequest = _this.getUploadApiRequest();
 902+ var uploadRequest = _this.getUploadApiRequest();
903903 _this.fogg.post( _this.api_url, 'file', JSON.stringify( uploadRequest ) );
904904
905905 _this.doUploadStatus();
@@ -980,7 +980,7 @@
981981 mw.log( 'do fogg upload/encode call: ' + _this.api_url + ' :: ' + JSON.stringify( uploadRequest ) );
982982 mw.log( 'foggEncode: ' + JSON.stringify( encoderSettings ) );
983983 _this.fogg.upload( JSON.stringify( encoderSettings ), _this.api_url,
984 - JSON.stringify( aReq ) );
 984+ JSON.stringify( uploadRequest ) );
985985
986986 // Start polling the upload status
987987 _this.doUploadStatus();
@@ -1089,7 +1089,7 @@
10901090 _this.renderPreview();
10911091 }
10921092 }
1093 - mw.log("update progress: " + _this.fogg.progress() + ' state: ' + _this.fogg.state );
 1093+ //mw.log("update progress: " + _this.fogg.progress() + ' state: ' + _this.fogg.state );
10941094 // Update the progress bar
10951095 _this.updateProgress( _this.fogg.progress() );
10961096
Index: branches/js2-work/phase3/js/mwEmbed/remotes/mediaWiki.js
@@ -4,7 +4,7 @@
55 */
66 var urlparts = getRemoteEmbedPath();
77 var mwEmbedHostPath = urlparts[0];
8 -var mwRemoteVersion = 'r90';
 8+var mwRemoteVersion = 'r91';
99 var mwUseScriptLoader = true;
1010
1111 // Log the mwRemote version ( will determine what version of js we get )

Status & tagging log