Page MenuHomePhabricator

Special:Log is missing actions of type "globalauth" from the "Maintenance script" user
Open, Needs TriagePublic

Description has performed operations under global accounts, such as global account deletions. However if one goes to the globalauth for that account, you'll find no entries there. I've noticed this while reviewing an oversighted account, so excuse me if I don't post a link to the user in question.

Event Timeline

Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript
MarcoAurelio updated the task description. (Show Details)Aug 11 2016, 9:31 PM
Restricted Application added a subscriber: JEumerus. · View Herald TranscriptAug 11 2016, 9:43 PM

Change 304620 had a related patch set uploaded (by Glaisher):
LogPager: Use Title::getDBkey for non-existent users' username in query condition

This comment was removed by MarcoAurelio.

Why was the comment removed? Is it not valid? Perhaps you are correct because I closed this based on an assumption, not after confirming. :)

We will discover once your patch is deployed I supose. However it's just
the globalauth log at meta which is unreachable for Maintence script; the
others work fine IIRC.

This problem is happen because the Maintenance script exists as user but all the log entries in the logging table have log_user = 0, so the query does not find anything for the user id.

The log entries are there:

Glaisher reopened this task as Open.Sep 1 2016, 12:08 PM

The log_user = 0 maybe no longer true, see T181731

Anomie added a comment.Jan 1 2018, 5:04 PM

The "Maintenance script" user is an exception to the cleanup in T181731, since the username is reserved it returns false from User::isUsableName() and that cleanup script didn't touch it. But when T167246 happens it'll assign all the edits to the existing account.

Krinkle renamed this task from Operations under global accounts performed by Maintenance script can't be retrieved from Special:Log to Special:Log is missing actions of type "globalauth" from the "Maintenance script" user .Jun 23 2019, 11:56 PM
Aklapper removed a subscriber: Anomie.Oct 16 2020, 5:01 PM