mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +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"
|
||||
},
|
||||
"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": {
|
||||
|
|
Loading…
Reference in a new issue