Page MenuHomePhabricator

Strip User: prefix from user creation log for forced-created accounts
Closed, ResolvedPublic

Event Timeline

Change #1024413 had a related patch set uploaded (by ArielGlenn; author: ArielGlenn):

[mediawiki/extensions/CentralAuth@master] Display the user name by itself in forced creation log messages

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

With the latest patch, local testing renders a log entry for forced user creation as

Screenshot from 2024-04-29 14-11-20.png (272×1 px, 33 KB)

Will that do? Admittedly that adds links for talk and contribs, which was not requested in the bug report. But it does bring the log entry format in line with other user creation log entries.

You can unset LogFormatter::$linkFlood during the call (or more elegantly, add a flag for not showing anything at all to the flag option of LogFormatter::makeUserLink()). I don't think there's any harm in showing the tool links, though.

Change #1024413 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Display the user name by itself in forced creation log messages

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

Looks ok in deployment-prep, so I'm just gonna close this.