Page MenuHomePhabricator

VisualEditor: Check for and warn user on unexpected badtoken event says they're now logged out
Closed, ResolvedPublicFeature

Description

When ever the user does a load, save, diff (, other?) action with the server, we should check for whether the new edit token is an anonymous one when we're expecting the user to be logged in, so we can warn the user that they're now logged out (to prevent them asking for their IP to be over-sighted, etc.).

There's potentially utility in doing this in core (for the wikitext editor) as well.


Version: unspecified
Severity: enhancement

Details

Reference
bz48656

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:20 AM
bzimport set Reference to bz48656.

Bug 48657 is the request for the same functionality in core's wikitext editor.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: TrevorParscal.
matmarex assigned this task to Krinkle.
matmarex subscribed.

This feature has been implemented soon after this task was filed, in July 2013, in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/73446, and still exists today with minor changes.

image.png (769×1 px, 109 KB)

(I found this task because we're revisiting the messages for IP Masking: T343848.)