mediawiki-extensions-Discus.../includes/Notifications
Bartosz Dziewoński a96c52869b Fix PageRecord lookup
According to Daniel it only worked by accident, and stopped working
after de63ad823abe:

getPageByReference() used to do an opportunistic lookup by ID when given
an instance of PageIdentity -- which is correct for EventDispatcher,
but problematic in the general case, causing T296063.

The correct thing to do here is to use getPageById(), since the canonical
association between revision and page is by page ID.

Bug: T297431
Change-Id: Icc1df0c9ca5345e65ef5f8daf0815013d7db0943
2021-12-10 12:46:55 +00:00
..
DiscussionToolsEventTrait.php Add missing typehints 2021-12-01 14:57:09 +00:00
EnhancedEchoEditUserTalkPresentationModel.php Enhance Echo user talk edit and mention notifications 2021-09-20 15:05:42 +02:00
EnhancedEchoMentionPresentationModel.php Enhance Echo user talk edit and mention notifications 2021-09-20 15:05:42 +02:00
EventDispatcher.php Fix PageRecord lookup 2021-12-10 12:46:55 +00:00
SubscribedNewCommentPresentationModel.php Enhance Echo user talk edit and mention notifications 2021-09-20 15:05:42 +02:00