mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
05da3118aa
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 |
||
---|---|---|
.. | ||
Api | ||
ChangeTags | ||
Hooks | ||
Maintenance | ||
Parser | ||
Special | ||
Watcher | ||
AbuseFilterExtensionJsonTest.php | ||
AbuseFilterServicesTest.php | ||
AbuseLoggerTest.php | ||
ActionVariablesIntegrationTest.php | ||
EchoNotifierTest.php | ||
FilteredActionsHandlerTest.php | ||
FilterRunnerTest.php | ||
FilterStoreTest.php | ||
FilterValidatorTest.php | ||
ProtectedVarsAccessLoggerTest.php |