Topic on Project:Village Pump

Where to document extension hooks

6
SamanthaNguyen (talkcontribs)

Some extension hooks are documented under Manual:Hooks/, but I believe it pollutes this area since it's mainly for documentation of core hooks. Any objection for me to move hooks under a place like Extension:{ExtensionName}/Hooks/{HookName}? It would use Template:ExtensionHook, so hooks would still be able to found under Category:Extension hooks.

Mainframe98 (talkcontribs)

That sounds like a good idea. Anything better than having two different approaches.

Either way, this should be formalized on Best practices for extensions#Documentation; something along the lines of:

 * MUST: Document available hooks under Extension:ExtensionName/Hooks/HookName (if any)
SamanthaNguyen (talkcontribs)
Ciencia Al Poder (talkcontribs)

Good idea!

Shirayuki (talkcontribs)
SamanthaNguyen (talkcontribs)

Thank you for fixing!

Reply to "Where to document extension hooks"