Page MenuHomePhabricator

Warn user that they're now logged out when they originally weren't
Closed, ResolvedPublicFeature

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

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.
matmarex claimed this task.
matmarex subscribed.

There is such a warning:

image.png (247×1 px, 52 KB)

It has been clarified to warn you about being logged out in 2016 (a813e8f3ab56375ea285beb8b0b31c36b60ef49f), but it has existed since 2005 (rSVN11600).