mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
extension.json - don't use array syntax when hooks only have 1 handler
Change-Id: Icedb34ae5183240458d2da39a031df60093c8d6d
This commit is contained in:
parent
88d85a94d8
commit
08291a2adc
|
@ -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": {
|
||||||
|
|
Loading…
Reference in a new issue