mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
Streamline Hooks section in extension.json
Main motivation here is to make the list easier to read. We are not going to have more than a single hook handler per hook anyway. Bug: T236260 Change-Id: I72357a89402e6febfa1e99f825a3fd699c5561b7
This commit is contained in:
parent
f743aa058e
commit
a037f76317
|
@ -31,27 +31,13 @@
|
|||
}
|
||||
},
|
||||
"Hooks": {
|
||||
"ParserFirstCallInit": [
|
||||
"Cite::setHooks"
|
||||
],
|
||||
"ContentHandlerDefaultModelFor": [
|
||||
"CiteHooks::onContentHandlerDefaultModelFor"
|
||||
],
|
||||
"ResourceLoaderTestModules": [
|
||||
"CiteHooks::onResourceLoaderTestModules"
|
||||
],
|
||||
"ResourceLoaderRegisterModules": [
|
||||
"CiteHooks::onResourceLoaderRegisterModules"
|
||||
],
|
||||
"LinksUpdate": [
|
||||
"CiteHooks::onLinksUpdate"
|
||||
],
|
||||
"LinksUpdateComplete": [
|
||||
"CiteHooks::onLinksUpdateComplete"
|
||||
],
|
||||
"ResourceLoaderGetConfigVars": [
|
||||
"CiteHooks::onResourceLoaderGetConfigVars"
|
||||
],
|
||||
"ParserFirstCallInit": "Cite::setHooks",
|
||||
"ContentHandlerDefaultModelFor": "CiteHooks::onContentHandlerDefaultModelFor",
|
||||
"ResourceLoaderTestModules": "CiteHooks::onResourceLoaderTestModules",
|
||||
"ResourceLoaderRegisterModules": "CiteHooks::onResourceLoaderRegisterModules",
|
||||
"LinksUpdate": "CiteHooks::onLinksUpdate",
|
||||
"LinksUpdateComplete": "CiteHooks::onLinksUpdateComplete",
|
||||
"ResourceLoaderGetConfigVars": "CiteHooks::onResourceLoaderGetConfigVars",
|
||||
"APIQuerySiteInfoGeneralInfo": "CiteHooks::onAPIQuerySiteInfoGeneralInfo"
|
||||
},
|
||||
"ResourceModules": {
|
||||
|
|
Loading…
Reference in a new issue