mediawiki-extensions-AbuseF.../includes/Pager
STran fe0b1cb9e9 Add user_unnamed_ip variable
After temporary accounts are enabled, filters that rely on an ip
in the `user_name` will fail (eg. `ip_in_range` and `ip_in_ranges`).
To keep these filters working:

- Expose the IP through another variable, `user_unnamed_ip`, that can be
  used instead of `user_name`.
- The variable is scoped to only reveal the IPs of temporary accounts
  and un-logged in users.
- Wikis that don't have temporary accounts enabled will be able to see
  this variable but it won't provide information that `user_name`
  wasn't already providing
- Introduce the concept of transforming variable values before writing
  to the blob store and after retrieval, as IPs need to be deleted from
  the logs eventually and can't be stored as-is in the amend-only blob
  store

Bug: T357772
Change-Id: I8c11e06ccb9e78b9a991e033fe43f5dded8f7bb2
2024-05-23 07:19:48 -07:00
..
AbuseFilterExaminePager.php Remove wfGetDB from comments 2024-03-17 00:35:04 +08:00
AbuseFilterHistoryPager.php Use namespaced classes 2023-12-10 23:03:12 +01:00
AbuseFilterPager.php Migrate to IReadableDatabase::newSelectQueryBuilder 2024-04-30 20:45:51 +02:00
AbuseLogPager.php Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
GlobalAbuseFilterPager.php Remove wfGetDB from comments 2024-03-17 00:35:04 +08:00