mediawiki-extensions-Discus.../includes/Notifications
Máté Szabó 55665a3f93 Avoid primary DB query for non-talk page edits
While investigating primary database queries as part of T370304,
we found that EventDispatcher currently issues a primary DB query
to fetch the previous revision of the newly created revision on
every edit, but discards the result for non-talk pages. So, as an
optimization, have it fetch the previous revision only after the page
has been established to be a talk page.

Bug: T370304
Change-Id: I301f5c3c002c6953ef0b3919a33667a809342b84
2024-08-14 18:18:02 +02:00
..
AddedTopicPresentationModel.php New topic notifications 2023-03-20 14:41:53 +00:00
CommentThanksPresentationModel.php Use namespaced classes 2024-06-09 00:02:35 +02:00
DiscussionToolsEventTrait.php Use namespaced notification classes from Echo 2024-05-28 15:48:56 +01:00
EnhancedEchoEditUserTalkPresentationModel.php Use namespaced classes 2024-06-09 00:02:35 +02:00
EnhancedEchoMentionPresentationModel.php Use namespaced notification classes from Echo 2024-05-28 15:48:56 +01:00
EventDispatcher.php Avoid primary DB query for non-talk page edits 2024-08-14 18:18:02 +02:00
PlaintextEchoPresentationModelSection.php Use namespaced notification classes from Echo 2024-05-28 15:48:56 +01:00
RemovedTopicPresentationModel.php Use namespaced classes 2023-12-11 16:38:02 +01:00
SubscribedNewCommentPresentationModel.php Use namespaced classes 2024-06-09 00:02:35 +02:00