Page MenuHomePhabricator

Update SecurePoll to use the new HookContainer/HookRunner system
Closed, ResolvedPublic3 Estimated Story Points

Description

Hook handling was re-conceived from MediaWiki 1.35, as documented here: https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later

Most hook handlers in SecurePoll still use the old style and should be updated.

The handler for the hook SpecialPage_initList is an example of how to use the new infrastructure.

Details

Event Timeline

Tchanders renamed this task from Modernise hooks in SecurePoll to Update SecurePoll to use the new HookContainer/HookRunner system.Feb 24 2021, 1:49 PM

Change 667294 had a related patch set uploaded (by STran; owner: STran):
[mediawiki/extensions/SecurePoll@master] Use new hook architecture in SecurePoll

https://gerrit.wikimedia.org/r/667294

Change 667294 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Use new hook architecture in SecurePoll

https://gerrit.wikimedia.org/r/667294