diff --git a/extension.json b/extension.json index 07ef8ad1e3..bc57d9e188 100644 --- a/extension.json +++ b/extension.json @@ -814,8 +814,7 @@ "visualeditor-savedialog-title-preview", "visualeditor-savedialog-title-review", "visualeditor-savedialog-title-save", - "visualeditor-savedialog-warning-dirty", - "visualeditor-serializeerror" + "visualeditor-savedialog-warning-dirty" ], "targets": [ "desktop", @@ -866,8 +865,7 @@ "visualeditor-savedialog-identify-anon", "visualeditor-savedialog-identify-trylogin", "visualeditor-savedialog-identify-user", - "visualeditor-saveerror", - "visualeditor-serializeerror" + "visualeditor-saveerror" ], "targets": [ "desktop", diff --git a/i18n/ve-mw/en.json b/i18n/ve-mw/en.json index 3b8e08edca..07ceb9a2d2 100644 --- a/i18n/ve-mw/en.json +++ b/i18n/ve-mw/en.json @@ -397,7 +397,6 @@ "visualeditor-saveerror": "Error saving data to server: $1.", "visualeditor-section-body-placeholder": "New section", "visualeditor-section-title-placeholder": "Subject", - "visualeditor-serializeerror": "Error loading data from server: $1.", "visualeditor-loaderror-revidconflict": "Revision IDs returned by the server do not match (document: $1, metadata: $2).", "visualeditor-loaderror-wrongmode": "Tried to load the editor in wrong mode (data type: \"$1\", editor mode: \"$2\").", "visualeditor-settings-tool": "Page settings", diff --git a/i18n/ve-mw/qqq.json b/i18n/ve-mw/qqq.json index d4bb966eea..490602e66a 100644 --- a/i18n/ve-mw/qqq.json +++ b/i18n/ve-mw/qqq.json @@ -417,7 +417,6 @@ "visualeditor-saveerror": "Text shown when the editor fails to save properly.\n\nParameters:\n* $1 is an error message, in English.", "visualeditor-section-body-placeholder": "Placeholder for surface when adding a new section", "visualeditor-section-title-placeholder": "Placeholder for title input when adding a new section\n{{Identical|Subject}}", - "visualeditor-serializeerror": "Text shown when the editor fails to load the wikitext for saving.\n\nParameters:\n* $1 is an error message, in English.", "visualeditor-loaderror-revidconflict": "Error message shown when loading the editor.\n\nParameters:\n* $1 and $2: revision IDs, as numbers", "visualeditor-loaderror-wrongmode": "Error message shown when loading the editor.\n\nParameters:\n* $1 and $2: names for editing modes (not translateable)", "visualeditor-settings-tool": "Text of tool in the toolbar the lets users set specific page settings.\n{{Identical|Page settings}}", diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index 65f48c2913..d1c5b026a4 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -879,12 +879,7 @@ ve.init.mw.DesktopArticleTarget.prototype.serialize = function () { return promise.fail( function ( error, response ) { var $errorMessages = target.extractErrorMessages( response ); - OO.ui.alert( - $( ve.htmlMsg( - 'visualeditor-serializeerror', - $( '' ).append( $errorMessages )[ 0 ] - ) ) - ); + OO.ui.alert( $errorMessages ); // It's possible to get here while the save dialog has never been opened (if the user uses // the switch to source mode option)