Page MenuHomePhabricator

Warn user that they're now logged out when they originally weren't
Open, MediumPublic

Description

On Preview/Diff/Save, the wikitext editor should check for a badtoken event that says that a previously logged-in user is now logged out, and should warn the user. This would help reduce the number of "OMG I was logged out please OS this edit" requests and generally be nice for users.


Version: 1.22.0
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48775

Details

Reference
bz48657

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:20 AM
bzimport set Reference to bz48657.
bzimport added a subscriber: Unknown Object (MLST).

WFM?

A failed attempt to reproduce:

  1. Go to the editing interface of a page
  2. Mid-click (= open in new tab) the "log out" link
  3. Do some edits in the editing tab
  4. Try to save the page

Now I see my new wikitext echoed back (with preview) due to sessionfailure, with a warning now (from https://en.wikipedia.org/wiki/MediaWiki:Anoneditwarning ). I guess this already sufficiently "warns the user".

  • This bug has been marked as a duplicate of bug 69314 ***

Not remotely a duplicate of a bug in an extension.

(In reply to James Forrester from comment #3)

Not remotely a duplicate of a bug in an extension.

Then looks INVALID. The API consumer should assert its expectations, as now done in https://gerrit.wikimedia.org/r/154245