(Translated by https://www.hiragana.jp/)
⚓ T326977 Feature request: Add logging of logout events to CU.
Page MenuHomePhabricator

Feature request: Add logging of logout events to CU.
Closed, ResolvedPublicFeature

Description

I was running some checks today on a LTA who came back to use an IP I had hard-blocked some time ago. There's two events in the CU logs, about 10 minutes apart on that IP, with no intervening activity:

(User logs)  00:12:06  <User X> (talk | contribs | block | check) Successfully logged in to Wikipedia as <User X>
(User logs)  00:11:57  <User X> (talk | contribs | block | check) Successfully logged in to Wikipedia as <User X>

I'm assuming that between those two logins, they tried to make an edit, got blocked from saving the edit, and tried logging out and logging back in to see if that would fix the problem. Would it be possible to record the user logout event?

Event Timeline

I think showing when a user actively logs out could indeed be very valuable evidence to help establish socking and so I would be supportive of this change.

I will look into this soon.

Support overall - would be useful.

Making my comment from the list that we should make sure that any change doesn't impact loginwiki. Currently loginwiki only tracks creations and should be kept that way.

The method that I intend to use should by default not log this to loginwiki, but I will bear that in mind.

Change 879909 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Log user logouts using Special:Logout or the API in CheckUser

https://gerrit.wikimedia.org/r/879909

Change 879909 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Log user logouts using Special:Logout or the API in CheckUser

https://gerrit.wikimedia.org/r/879909

Dreamy_Jazz moved this task from Patches for review to General / Unsorted on the CheckUser board.

Change merged - should be seen on WMF wikis next week (as this was merged after this week's branch was branched).