mediawiki-extensions-AbuseF.../includes/View
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
..
AbuseFilterView.php Use stable andExpr() / orExpr() methods 2024-07-11 18:36:04 +02:00
AbuseFilterViewDiff.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterViewEdit.php Use namespaced MessageSpecifier 2024-07-28 21:59:35 +02:00
AbuseFilterViewExamine.php Protected variable logs: fallback to accountname if user_name is not set 2024-10-21 21:15:51 +02:00
AbuseFilterViewHistory.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterViewImport.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterViewList.php Only return filters visible to user in search 2024-07-08 02:47:57 -07:00
AbuseFilterViewRevert.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterViewTestBatch.php Disallow protected variable access on AbuseFilterViewTestBatch 2024-07-10 05:31:03 -07:00
AbuseFilterViewTools.php Use namespaced classes 2024-06-12 20:01:35 +02:00
HideAbuseLog.php Use namespaced classes 2024-06-12 20:01:35 +02:00