mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-23 14:56:43 +00:00
extension.json - don't use array syntax when hooks only have 1 handler
Change-Id: I5dc790836c374793990e4fd059697db4e8e34cbe
This commit is contained in:
parent
7783ec050e
commit
58fd7c8028
|
@ -16,15 +16,9 @@
|
|||
}
|
||||
},
|
||||
"Hooks": {
|
||||
"EditPage::showEditForm:initial": [
|
||||
"CodeEditorHooks::editPageShowEditFormInitial"
|
||||
],
|
||||
"EditPage::showReadOnlyForm:initial": [
|
||||
"CodeEditorHooks::editPageShowEditFormInitial"
|
||||
],
|
||||
"GetPreferences": [
|
||||
"CodeEditorHooks::getPreferences"
|
||||
]
|
||||
"EditPage::showEditForm:initial": "CodeEditorHooks::editPageShowEditFormInitial",
|
||||
"EditPage::showReadOnlyForm:initial": "CodeEditorHooks::editPageShowEditFormInitial",
|
||||
"GetPreferences": "CodeEditorHooks::getPreferences"
|
||||
},
|
||||
"MessagesDirs": {
|
||||
"CodeEditor": [
|
||||
|
|
Loading…
Reference in a new issue