mediawiki-extensions-AbuseF.../includes/Special
Kosta Harlan 05da3118aa
Protected variable logs: fallback to accountname if user_name is not set
Why:

- For account creations and account autocreations, the user_name
  property is deliberately unset, to avoid displaying the IP address of
  an unregistered user. Instead, `accountname` is set with the newly
  created account name
- For logging that someone has seen a protected variable value, we need
  to record the username that was seen

What:

- Use `accountname` as a fallback in case `user_name` is not set, when
  logging protected variable access
- Update tests to cover this case.

Bug: T376885
Change-Id: I688a3529fac0ad8455977a0cfdb950f0105f550d
2024-10-21 21:15:51 +02:00
..
AbuseFilterSpecialPage.php Replace most Xml methods with Html 2024-05-08 13:08:52 +02:00
BlockedExternalDomains.php Blocked Domains: Minor tweaks 2024-10-05 22:56:17 +01:00
SpecialAbuseFilter.php Log specific views of protected variables 2024-10-02 00:53:34 -07:00
SpecialAbuseLog.php Protected variable logs: fallback to accountname if user_name is not set 2024-10-21 21:15:51 +02:00