extension.json - don't use array syntax when hooks only have 1 handler

Change-Id: Icedb34ae5183240458d2da39a031df60093c8d6d
This commit is contained in:
DannyS712 2020-03-11 09:53:28 +00:00 committed by Physikerwelt
parent 88d85a94d8
commit 08291a2adc

View file

@ -54,33 +54,15 @@
"MathAliasNoTranslate": "Math.alias.noTranslate.php"
},
"Hooks": {
"ParserFirstCallInit": [
"MathHooks::onParserFirstCallInit"
],
"GetPreferences": [
"MathHooks::onGetPreferences"
],
"LoadExtensionSchemaUpdates": [
"MathHooks::onLoadExtensionSchemaUpdates"
],
"ParserTestTables": [
"MathHooks::onParserTestTables"
],
"PageRenderingHash": [
"MathHooks::onPageRenderingHash"
],
"WikibaseClientDataTypes": [
"MathWikibaseHook::onWikibaseClientDataTypes"
],
"WikibaseRepoDataTypes": [
"MathWikibaseHook::onWikibaseRepoDataTypes"
],
"ParserAfterTidy": [
"MathHooks::onParserAfterTidy"
],
"SpecialPage_initList": [
"MathHooks::onSpecialPage_initList"
]
"ParserFirstCallInit": "MathHooks::onParserFirstCallInit",
"GetPreferences": "MathHooks::onGetPreferences",
"LoadExtensionSchemaUpdates": "MathHooks::onLoadExtensionSchemaUpdates",
"ParserTestTables": "MathHooks::onParserTestTables",
"PageRenderingHash": "MathHooks::onPageRenderingHash",
"WikibaseClientDataTypes": "MathWikibaseHook::onWikibaseClientDataTypes",
"WikibaseRepoDataTypes": "MathWikibaseHook::onWikibaseRepoDataTypes",
"ParserAfterTidy": "MathHooks::onParserAfterTidy",
"SpecialPage_initList": "MathHooks::onSpecialPage_initList"
},
"config": {
"MathDefaultLaTeXMLSetting": {