Page MenuHomePhabricator

Prevent accidental logouts on desktop Vector skin when using a mobile device
Open, LowestPublic

Description

When using the default desktop interface on a mobile device, it is easy to accidentally fat-finger the logout button (which is extra destructive on Wikimedia sites, see T37220: Allow per-session log out). Maybe redesign that, or show a confirmation dialog (@Bluedeck has written such a user script for the Chinese Wikipedia).

Event Timeline

Restricted Application added subscribers: Cosine02, Aklapper. · View Herald TranscriptMar 8 2019, 7:11 PM

Wouldn't letting people log in again after people accidentally logged out be a slightly less annoying solution than "Are you really sure you wanted to click what you just clicked" dialogs? Logging out is a non-destructive activity that can be reverted by logging in again. No data loss.
Honestly asking as an entire generation’s computing experience is built around clicking ‘OK’ to dialogs that they either don’t read or don't understand.

Hi. I'm the user requested this feature. The reason for my request was because: I largely view and edit Wikipedia in desktop view on mobile browsers, since I can use more functionalities in desktop Watchlist/2017 editor/TW. The problem is, my thumb often slip on the logout link when I meant to click contribs. And since I don't remember my randomly generated passwords - I use password managers for that - I have to take some extra minute or two unlocking the manager app and copying password to the mobile browser. It'd really be convenient to have this script as a optional opt-in gadget. Thanks.

Ah, thanks for the comment! Anyone is free to set up such a gadget or user script if they feel like, sure. :)
We do not track random gadget requests in Phabricator tickets, so I expected this to be a request to be implemented in the MediaWiki core software. https://www.mediawiki.org/wiki/Gadget_kitchen/Requests does not look very active, hmm.

TheDJ added a subscriber: TheDJ.May 1 2019, 1:01 PM

Isn't this what we have the mobile website for ? So that the links are big enough that you DONT accidentally click them ? I mean this is the road towards having confirmation dialogs on EVERY action, and then we need preferences because other people DONT want confirmation dialogs etc etc etc...

Aklapper renamed this task from Prevent accidental logouts by requiring extra confirmation step before Special:Logout to Prevent accidental logouts by requiring extra confirmation step before Special:Logout (on Desktop version for mobile devices).May 1 2019, 1:40 PM
Aklapper triaged this task as Lowest priority.

I propose to decline this task. The proper solution is to make desktop version functionality available/usable in the mobile version instead of adding more annoying dialogs by default.

Requiring confirmation to logout should be available, even if it's just an option you can set in preferences. On a mobile device, it just takes an errant finger tap to log you out, and that happens fairly frequently.

I've got 2FA enabled on my account. If I don't have my token generator with me, it's doubly annoying. Even more so when coupled with T37220

Tgr renamed this task from Prevent accidental logouts by requiring extra confirmation step before Special:Logout (on Desktop version for mobile devices) to Prevent accidental logouts on desktop Vector skin when using a mobile device.May 7 2019, 5:04 PM
Tgr updated the task description. (Show Details)
Tgr added a subscriber: Tgr.

This should be fixed in the skin, not in MediaWiki. Took a guess that the people who have a problem are using Vector (the other skins are semi-unsupported anyway).