Page MenuHomePhabricator

Fix links to user creation log to include the excludetempacct parameter except when specifically accessing temp account log
Open, In Progress, LowPublic

Description

Motivation

We added an option to exclude temporary accounts from the "user creation log" in T398423. This task is to make a couple of updates to when the checkbox appears checked based on Johannes' feedback:

Another issue with the new checkbox: If you notice a temporary account without edits (e.g. https://test.wikipedia.org/wiki/Special:Contributions/~2025-34552-3) and click "Logs" in the tools menu, the link https://test.wikipedia.org/wiki/Special:Log/~2025-34552-3 doesn't show any log entries, because "Exclude temporary account creations" is checked by default – this shouldn't be the case when visiting logs of temporary accounts.

Screenshot 2025-08-13 at 13.07.17.png (1×1 px, 237 KB)

Acceptance criteria
  • Navigating from any log to "user creation log" should launch the "user creation log" with the excludetempacct checked by default.
  • If a user is specifically navigating to logs for a given temporary account (for example by clicking "Logs" under the Tools menu), the excludetempacct checkbox should not appear checked.

Event Timeline

Niharika renamed this task from Fix links to user creation log to include the excludetempacct parameter to Fix links to user creation log to include the excludetempacct parameter except when specifically accessing temp account log.Nov 20 2025, 11:58 AM
Niharika updated the task description. (Show Details)
mszwarc changed the task status from Open to In Progress.Dec 8 2025, 9:22 AM
mszwarc claimed this task.

Change #1216554 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/core@master] LogEventsList: Check excludetempacct by default if switching logs

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

Change #1216555 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/core@master] Special:Log: Don't exclude temp. accounts if performer is temporary

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

Change #1216554 merged by jenkins-bot:

[mediawiki/core@master] LogEventsList: Check excludetempacct by default if switching logs

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

Change #1216555 merged by jenkins-bot:

[mediawiki/core@master] Special:Log: Don't exclude temp. accounts if performer is temporary

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

@mszwarc I believe I have the latest version of media wiki. I tried to navigate from other logs then to "user creation logs" I still don't see the "Exclude temporary account creations" checkbox checked.

Let me know if I am missing something

@mszwarc I believe I have the latest version of media wiki. I tried to navigate from other logs then to "user creation logs" I still don't see the "Exclude temporary account creations" checkbox checked.

Let me know if I am missing something

The patch hasn't been deployed yet to test wiki (it'll be on next Tuesday). You can test it locally or on beta cluster.

Test status: QA PASS

  • Going from any log to the user creation log will have the "Exclude temporary account creations" checkbox stays checked
  • Clicking logs on A temp account with no edits will have the "Exclude temporary account creations" unchecked