extension.json: Simplify hook calls as we only ever use one

Change-Id: Ie835cac5df0697829dcf6f1796d9c4331512a8fc
This commit is contained in:
James D. Forrester 2020-05-11 12:47:11 -07:00 committed by Reedy
parent ac94e7efad
commit bf6ca72845

View file

@ -22,24 +22,12 @@
"RelatedArticlesMagic": "RelatedArticles.i18n.magic.php"
},
"Hooks": {
"ParserFirstCallInit": [
"RelatedArticles\\Hooks::onParserFirstCallInit"
],
"OutputPageParserOutput": [
"RelatedArticles\\Hooks::onOutputPageParserOutput"
],
"MakeGlobalVariablesScript": [
"RelatedArticles\\Hooks::onMakeGlobalVariablesScript"
],
"BeforePageDisplay": [
"RelatedArticles\\Hooks::onBeforePageDisplay"
],
"ResourceLoaderGetConfigVars": [
"RelatedArticles\\Hooks::onResourceLoaderGetConfigVars"
],
"SkinAfterContent": [
"RelatedArticles\\Hooks::onSkinAfterContent"
]
"ParserFirstCallInit": "RelatedArticles\\Hooks::onParserFirstCallInit",
"OutputPageParserOutput": "RelatedArticles\\Hooks::onOutputPageParserOutput",
"MakeGlobalVariablesScript": "RelatedArticles\\Hooks::onMakeGlobalVariablesScript",
"BeforePageDisplay": "RelatedArticles\\Hooks::onBeforePageDisplay",
"ResourceLoaderGetConfigVars": "RelatedArticles\\Hooks::onResourceLoaderGetConfigVars",
"SkinAfterContent": "RelatedArticles\\Hooks::onSkinAfterContent"
},
"MessagesDirs": {
"RelatedArticles": [