Page MenuHomePhabricator

The BaseHooks extension does not work with modern MediaWiki
Closed, ResolvedPublic

Description

Extension BaseHooks works only with ancient MediaWiki versions such as 1.19.20.

With current MediaWiki this extension does nothing.

Make it work with current MediaWiki.

Details

Related Changes in Gerrit:

Event Timeline

I found it does work indeed with modern MediaWiki if we use require_once instead of wfLoadExtension.

Change 280437 had a related patch set uploaded (by Paladox):
Fix extension.json

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

I found it does work indeed with modern MediaWiki if we use require_once instead of wfLoadExtension.

Hi the reason why extension.json was broken was because you didn't add the correct hooks.

Change 280437 merged by VictorPorton:
Fix extension.json

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

Paladox claimed this task.

Patches were merged and confirmed to be working for the author of the extension.

Closing as resolved.