Last modified: 2014-09-02 16:34:15 UTC
When I save a translation at https://www.mediawiki.org/w/index.php?title=Special:Translate&group=page-Help%3AVisualEditor%2FUser+guide&filter=%21translated&action=translate&debug=1 I'm getting the following error: ------------------------------------------------------------- Uncaught TypeError: Cannot read property 'info' of undefined ------------------------------------------------------------- It comes from the line ------------------------------------------------------------- translateEditor.savingError( results.error.info ); ------------------------------------------------------------- of the file https://bits.wikimedia.org/static-1.22wmf10/extensions/Translate/resources/js/ext.translate.editor.js
This code no longer exists.
The line of code was replaced by translateEditor.onSaveFail( response.error.info ); on I2bbc6676c9ce99444f3b346d6c670ccda3a07968: https://gerrit.wikimedia.org/r/#/c/88447/8/resources/js/ext.translate.editor.js The actual fix was made on Ib53cd76c086c34244b4e9ced3072f3f036a92141: https://gerrit.wikimedia.org/r/#/c/103244/3/resources/js/ext.translate.editor.js,unified PS (In reply to Helder from comment #0): On Firefox the error message was "TypeError: results.error is undefined".