John Erling Blad has uploaded a new change for review. Change subject: (bug 42064) Fix onEditFilterMerged so it only accepts EditPage ......................................................................
(bug 42064) Fix onEditFilterMerged so it only accepts EditPage For some types of hooks, notably during calls in EditEntity, the normal code in onEditFilterMerged will fail. Instead the extensions must implement its own equivalent of the same handler to be run in those cases. The problem point is the argument $editor, which will not be an EditPage but something else. Change-Id: Ibd8dcc87c8ab849f7ae3d3557a7d1df8e53f4d0e --- M AbuseFilter.hooks.php M AbuseFilter.php 2 files changed, 12 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter refs/changes/00/34900/1 -- To view, visit https://gerrit.wikimedia.org/r/34900 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibd8dcc87c8ab849f7ae3d3557a7d1df8e53f4d0e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AbuseFilter Gerrit-Branch: master Gerrit-Owner: John Erling Blad <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
