Alex Monk has submitted this change and it was merged. Change subject: Update ArticleSaved hook to use correct request object ......................................................................
Update ArticleSaved hook to use correct request object 'Revert' via the API apiEditPage.php does not trigger reverted notification, this is probably due to the fake request object swap inside this API, which is making the param wgUndidRevision with empty value inside the hook, replace $user->getRequest() with $wgRequest solves this problem. Change-Id: I5d12d31f370f2633e85d6533242da26ece950630 --- M Hooks.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Alex Monk: Verified; Looks good to me, approved jenkins-bot: Checked -- To view, visit https://gerrit.wikimedia.org/r/44371 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5d12d31f370f2633e85d6533242da26ece950630 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Bsitu <[email protected]> Gerrit-Reviewer: Alex Monk <[email protected]> Gerrit-Reviewer: Kaldari <[email protected]> Gerrit-Reviewer: Lwelling <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
