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" "MathAliasNoTranslate": "Math.alias.noTranslate.php"
}, },
"Hooks": { "Hooks": {
"ParserFirstCallInit": [ "ParserFirstCallInit": "MathHooks::onParserFirstCallInit",
"MathHooks::onParserFirstCallInit" "GetPreferences": "MathHooks::onGetPreferences",
], "LoadExtensionSchemaUpdates": "MathHooks::onLoadExtensionSchemaUpdates",
"GetPreferences": [ "ParserTestTables": "MathHooks::onParserTestTables",
"MathHooks::onGetPreferences" "PageRenderingHash": "MathHooks::onPageRenderingHash",
], "WikibaseClientDataTypes": "MathWikibaseHook::onWikibaseClientDataTypes",
"LoadExtensionSchemaUpdates": [ "WikibaseRepoDataTypes": "MathWikibaseHook::onWikibaseRepoDataTypes",
"MathHooks::onLoadExtensionSchemaUpdates" "ParserAfterTidy": "MathHooks::onParserAfterTidy",
], "SpecialPage_initList": "MathHooks::onSpecialPage_initList"
"ParserTestTables": [
"MathHooks::onParserTestTables"
],
"PageRenderingHash": [
"MathHooks::onPageRenderingHash"
],
"WikibaseClientDataTypes": [
"MathWikibaseHook::onWikibaseClientDataTypes"
],
"WikibaseRepoDataTypes": [
"MathWikibaseHook::onWikibaseRepoDataTypes"
],
"ParserAfterTidy": [
"MathHooks::onParserAfterTidy"
],
"SpecialPage_initList": [
"MathHooks::onSpecialPage_initList"
]
}, },
"config": { "config": {
"MathDefaultLaTeXMLSetting": { "MathDefaultLaTeXMLSetting": {