Closed Derugon closed 9 months ago
Add definitions and basic documentation for the hooks used in MediaWiki core, as mentioned in https://github.com/wikimedia-gadgets/types-mediawiki/pull/26.
Hook names have been retrieved from a source code search, so there may be some missing, I do not know if there is a full list somewhere.
Notes (on things I'm not sure about):
apisandbox.formatRequest
wikipage.diff.diffTypeSwitch
mw.user
postEdit
User
Add definitions and basic documentation for the hooks used in MediaWiki core, as mentioned in https://github.com/wikimedia-gadgets/types-mediawiki/pull/26.
Hook names have been retrieved from a source code search, so there may be some missing, I do not know if there is a full list somewhere.
Notes (on things I'm not sure about):
apisandbox.formatRequest
andwikipage.diff.diffTypeSwitch
hooks reference OOUI objects, so it is added as a dependency.mw.user
is used in thepostEdit
hook, so it has been moved into a separateUser
class.