mediawiki-extensions-Thanks/includes
Tim Starling 8fdb3aca5e Fix history tools performance
Thanks was causing history views to do 4 DB queries per row, due to the
RevisionStore::getPreviousRevision() call. The reason for doing it is
that it doesn't make sense to thank someone for a diff which includes
multiple authors. This does not apply to history pages -- even for
filtered history views, you can thank someone for a specific revision on
the basis of its edit summary.

So, distinguish between history tools and diff tools. Do the expensive
thing only for diff tools.

Bug: T284274
Change-Id: Ib631100b82958065a327dd18c927af4a78b8be15
2021-06-29 13:01:05 +10:00
..
ApiCoreThank.php ApiCoreThank: Ensure partial block against thanks applies to revisions 2021-05-13 19:57:51 +01:00
ApiFlowThank.php ApiFlowThank: Prevent thanking from Flow if partial blocked against thanks 2021-05-14 13:01:58 +01:00
ApiThank.php Replace uses of DB_MASTER with DB_PRIMARY 2021-05-13 08:31:40 -07:00
EchoCoreThanksPresentationModel.php Namespace extension 2021-03-20 18:22:17 -07:00
EchoFlowThanksPresentationModel.php Namespace extension 2021-03-20 18:22:17 -07:00
Hooks.php Fix history tools performance 2021-06-29 13:01:05 +10:00
SpecialThanks.php Namespace extension 2021-03-20 18:22:17 -07:00
ThanksLogFormatter.php Namespace extension 2021-03-20 18:22:17 -07:00