mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński 870841b407 ArticleTarget: Remove misleading error message on 'badtoken' errors
This method was only called, and the message was only shown, when
retrying after the first 'badtoken' error and refreshing the token
fails again.

If this happens, it usually indicates some terrible problem with
the wiki, and it is not something that can be fixed by logging in
again (or anything else the user can do).

Let the default API error message appear ("Invalid CSRF token.").
While not very helpful to the user, it should be more helpful to
the site administrator trying to unbreak their wiki.

Remove the "visualeditor-savedialog-identify-trylogin" message.
Keep "visualeditor-savedialog-error-badtoken", which is re-used
in another error message. I'll fix that separately.

Change-Id: Ib680218bce5ae38aa52d7d941218a6410ab7e09e
2023-08-14 19:58:26 +02:00
..
ce Convert WikitextPasteContextItem to PersistentContextItem 2023-08-11 12:54:38 +01:00
dm Port Parsoid's WTUtils::textContentFromCaption 2023-08-10 18:06:27 -04:00
init ArticleTarget: Remove misleading error message on 'badtoken' errors 2023-08-14 19:58:26 +02:00
preinit Use passive event listeners for window scroll events 2023-08-09 16:42:23 +01:00
tests Reload page or redirect when saving an edit creates a temp account 2023-07-10 19:33:16 +02:00
themes
ui Convert WikitextPasteContextItem to PersistentContextItem 2023-08-11 12:54:38 +01:00
ve.track.js Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-24 21:48:45 +01:00