Fomafix has uploaded a new change for review. https://gerrit.wikimedia.org/r/323119
Change subject: Replace $.parseJSON by JSON.parse ...................................................................... Replace $.parseJSON by JSON.parse $.parseJSON gets deprecated in jQuery 3.0: https://jquery.com/upgrade-guide/3.0/#deprecated-jquery-parsejson Change-Id: I871d88b6fd2517656704186433d2bbcbcba7e990 --- M resources/transports/mw.FormDataTransport.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard refs/changes/19/323119/1 diff --git a/resources/transports/mw.FormDataTransport.js b/resources/transports/mw.FormDataTransport.js index eeea391..86d8cba 100644 --- a/resources/transports/mw.FormDataTransport.js +++ b/resources/transports/mw.FormDataTransport.js @@ -420,7 +420,7 @@ var response; try { - response = $.parseJSON( evt.target.responseText ); + response = JSON.parse( evt.target.responseText ); } catch ( e ) { if ( window.console ) { // Let's check what caused this, too. -- To view, visit https://gerrit.wikimedia.org/r/323119 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I871d88b6fd2517656704186433d2bbcbcba7e990 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UploadWizard Gerrit-Branch: master Gerrit-Owner: Fomafix <foma...@googlemail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits