45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "MonacoEditor",
|
|
"version": "0.1.0",
|
|
"author": [
|
|
"Stuzer05"
|
|
],
|
|
"url": "https://gitea.stuzer.link/stuzer05/mediawiki-extensions-monaco-editor",
|
|
"description": "MonacoEditor for MediaWiki",
|
|
"license-name": "",
|
|
"type": "other",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.35.0"
|
|
},
|
|
"Hooks": {
|
|
"EditPage::showEditForm:initial": [
|
|
"MonacoEditorHooks::editPageShowEditFormInitial"
|
|
],
|
|
"EditPage::showReadOnlyForm:initial": [
|
|
"MonacoEditorHooks::editPageShowEditFormInitial"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"MonacoEditorHooks": "MonacoEditorHooks.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.RequireJs": {
|
|
"packageFiles": [
|
|
"assets/js/require.js"
|
|
],
|
|
"position": "bottom"
|
|
},
|
|
"ext.MonacoEditor": {
|
|
"packageFiles": [
|
|
"assets/js/scripts.js"
|
|
],
|
|
"position": "bottom"
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "MonacoEditor"
|
|
},
|
|
"manifest_version": 1
|
|
}
|