mediawiki-extensions-Thanks/includes
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
..
Api ApiFlowThank: Replace deprecated User::newFromId 2024-09-07 10:30:10 +00:00
Storage Use namespaced classes 2024-01-04 22:22:56 +01:00
EchoCoreThanksPresentationModel.php Replace deprecated LogFormatter::newFromEntry 2024-07-21 07:28:09 +00:00
EchoFlowThanksPresentationModel.php Document generated messages 2023-11-30 11:52:11 +00:00
EchoHooks.php Use namespaced classes 2024-06-10 22:00:22 +02:00
Hooks.php Hooks#onLogEventsListLineEnding: Don't add link for temp users 2024-09-23 22:21:03 +02:00
SpecialThanks.php Use namespaced PHP classes 2024-05-11 08:58:37 +00:00
ThanksLogFormatter.php Use LinkTarget in LogFormatter::getPreloadTitles override 2024-07-14 22:56:40 +02:00
ThanksQueryHelper.php Switch to ICP and stop using DBAccessObjectUtils::getDBOptions() 2024-02-29 09:15:20 +00:00
ThanksServices.php Add service container 2022-12-15 16:21:28 -08:00