mediawiki-extensions-Thanks/tests/phpunit
Kosta Harlan f2220b151e
Hooks#onLogEventsListLineEnding: Don't add link for temp users
Why:

* Temp accounts cannot thank other users, so do not add the "thank" link
  in log entries.

What:

* Change condition to check if a user is not named, rather than if they
  are anonymous
* Add an integration test to verify the behavior for anon, temp, and
  named users

Bug: T375209
Change-Id: Idb772a3072a6dc8a9d052cebb306b558f49caf31
2024-09-23 22:21:03 +02:00
..
integration Hooks#onLogEventsListLineEnding: Don't add link for temp users 2024-09-23 22:21:03 +02:00
ApiCoreThankIntegrationTest.php Merge "Remove usage of writeapi userright" 2024-08-01 21:06:46 +00:00
ApiCoreThankUnitTest.php Use namespaced PHP classes 2024-05-11 08:58:37 +00:00
ApiFlowThankIntegrationTest.php Use namespaced PHP classes 2024-05-11 08:58:37 +00:00