Page MenuHomePhabricator

Multiple MediaWiki hooks are not documented on mediawiki.org
Open, LowPublic

Description

Many hooks inside MediaWiki are not documented on mediawiki.org. We should make it a habit that when a new hook is added, documentation is immediately updated, but together with that, we should catch up and document hooks that are already existing and being used.

Undocumented hooks can be seen here: https://www.mediawiki.org/wiki/Category:Undocumented_MediaWiki_hooks
I'll be adding more of them, please feel welcome to add too if you notice undocumented hooks.

Event Timeline

TBH this feels like a waste of manpower to me. hooks.txt is easily parsable so this can be automated (see T155029 for plans), we have plenty of other tasks which do require manual effort.

Well, we should update https://www.mediawiki.org/wiki/Manual:Hooks regardless. It was last correct with MediaWiki 1.8.2, and is really in need of some attention.

Restricted Application edited projects, added Analytics; removed Analytics-Radar. · View Herald TranscriptJun 10 2020, 6:33 AM
Restricted Application edited projects, added Analytics; removed Analytics-Radar. · View Herald TranscriptJun 10 2020, 6:36 AM
Legoktm added subscribers: odimitrijevic, Legoktm.

@odimitrijevic why did you decline this?

@Legoktm please feel free to reopen if you think this is still relevant. While I closed tasks on our backlog with no activity in the past 3+ years, I see that this is on a number of other backlogs besides EventLogging.