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).
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.
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...
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