Community Wishlist Survey 2021/Notifications/Logout confirmation dialog

From Meta, a Wikimedia project coordination wiki

Logout confirmation dialog

(Machine translation from Japanese to English.)

  • Problem : When I click the "Logout" menu displayed at the top right of the Wikipedia page, the logout is executed immediately. I want you to implement a function that displays a dialog asking if you really want to log out in case you click "Logout" due to an operation mistake even though you do not intend to log out. ..
  • Who can help : All users who may click "Logout" due to an operation error
  • Proposed resolution :
  • Other comments :
  • Phabricator Tickets :
  • Proposer: Keruby (talk) 04:04, 18 November 2020 (UTC)[reply]


  • I've discussed a 2-step process for logout somewhere on Phabricator. Not sure where off the cuff. And I feel like this may be a previous proposal? --Izno (talk) 05:14, 18 November 2020 (UTC)[reply]
    @Izno I think you mean phab:T217914TheDJ (talkcontribs) 13:19, 4 December 2020 (UTC)[reply]
  • Courtesy pinging community participants of en-WP Village pump discussion who haven't voted yet (apologies if I missed/repeated anyone). @Anita5192, Fuzheado, Randy Kryn, Arnabsaha, Forbes72, Johnuniq, Ovinus Real, Enjoyer of World, Herbfur, JGHowes, RoySmith, 2pou, and Aza24: Please feel free to weigh in on this. {{u|Sdkb}}talk 19:46, 11 December 2020 (UTC)[reply]
  • For anything that makes logging out harder, it's worth thinking about the impact on people who intentionally attempt to log out in a rush, and simply click the link and leave without realizing that they will still have to click something else (and consequently not actually being logged out); there were suggestions to make this out-in only, which potentially alleviates this concern. Another thought that comes to mind is having a countdown timer that starts after the clicking "Log out" (e.g. for 30 seconds or a minute) so that if the user doesn't either confirm the intent to log out or cancel the action altogether within that time, the user will still be logged out; that's an idea inspired by what I've seen on some operating systems, and may help if the user actually clicked it then left in a rush as I described earlier. Hazard-SJ (talk) 06:31, 13 December 2020 (UTC)[reply]
    A countdown seems reasonable. Making this opt-in, however, would greatly diminish its reach, as most people who would want it won't enable it. {{u|Sdkb}}talk 08:28, 13 December 2020 (UTC)[reply]
    Expanding on that thought, I'm imagining that clicking on logout would pop up the box with two options, one of which says something like "yes I really mean to log out" and clicking on it log you out immediately. The second says, "no I didn't really need to log out" and clicking on that undoes the logout request. If neither are clicked, the logout proceeds after some period of time even if you closed your browser and turned off the computer. I think 30 seconds is more than long enough but I'll leave that detail to others. It should be the default not an opt in.--Sphilbrick (talk) 14:28, 19 December 2020 (UTC)[reply]
  • Y a t-il des personnes qui peuvent témoigner s'être déjà accidentellement déconnecté ? Il faudrait voir le pourcentage car j'ai l'impression que c'est plus contre-productif qu'autre chose et que ça fera perdre du temps. -- Nemo Discuter 12:11, 25 December 2020 (UTC)[reply]