What is the problem?
When viewing some CheckUser entries for user creation, the (logs) link is to /w/index.php?title=Special:Log&page=User%3A, missing the username from the end.
It only seems to affect logs of the form:
- (logs) .. <time> .. <username> (talk | contribs | block | check) was [automatically] created
which also affects automatic creation of temp users.
It also affects logs of emails being sent.
I notice these entries have a blank cuc_title in cu_changes, although this bug happens regardless of whether you have SCHEMA_COMPAT_READ_OLD or SCHEMA_COMPAT_READ_NEW.
Steps to reproduce problem
- As an anonymous (logged out) user, go to Special:CreateAccount and create a new user
- After creation you should be logged in as the new user
- Go to Special:CreateAccount again and create another new user
- Login as an admin user with checkuser permissions
- Go to Special:CheckUser, enter the name of the user you created in step 1, check the "Get edits" checkbox and submit
Expected behavior: You should see 4-5 entries. Clicking each of the "logs" links should take you to a valid URL (i.e. you shouldn't see any validation errors on the pages).
Observed behavior: The "logs" link for the second entry from the bottom is invalid.
- Submit the CheckUser form again, but for the user you created in step 3
Expected behavior: You should see 1 entry with a valid "logs" link.
Observed behavior: The "logs" link is invalid.
Environment
Wiki(s): local docker CheckUser 2.5 (d121f43) 16:23, 27 September 2023.