Requests for comment/Inventory hooks, assess need
Inventory hooks, assess need | |
---|---|
Component | General |
Creation date | |
Author(s) | ^demon |
Document status | in draft |
Background
editMediaWiki currently has many hundred hook calls. Many were introduced with little discussion or consideration and are rarely used.
Problem
editHooks make code hard to test, hard to debug, and tend to be rather single-use in their implementation.
Proposal
editWe should inventory all of our hooks. See which ones are being used and are necessary. Can some of them possibly be rethought or replaced?