mediawiki-extensions-CodeEd.../extension.json
Volker E 75d8b4c112 Replace deprecated OOUI 'find' icon with 'articleSearch' of 'content' pack
Depends-on: I41c3d5502ff58f72bf7441811eaf17702468469b
Bug: T183645
Change-Id: I0535b667084771ecff3a4c0e14616fc9ee586895
2018-04-02 14:26:48 -07:00

147 lines
3.3 KiB
JSON

{
"name": "CodeEditor",
"author": [
"Brion Vibber",
"Derk-Jan Hartman",
"authors of Ace (ace.c9.io)"
],
"url": "https://www.mediawiki.org/wiki/Extension:CodeEditor",
"descriptionmsg": "codeeditor-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"requires": {
"MediaWiki": ">= 1.29.0",
"extensions": {
"WikiEditor": "*"
}
},
"Hooks": {
"EditPage::showEditForm:initial": [
"CodeEditorHooks::editPageShowEditFormInitial"
],
"EditPage::showReadOnlyForm:initial": [
"CodeEditorHooks::editPageShowEditFormInitial"
],
"GetPreferences": [
"CodeEditorHooks::getPreferences"
]
},
"MessagesDirs": {
"CodeEditor": [
"i18n"
]
},
"config": {
"CodeEditorEnableCore": true
},
"DefaultUserOptions": {
"usecodeeditor": 1
},
"ResourceModules": {
"ext.codeEditor": {
"scripts": "ext.codeEditor.js",
"dependencies": [
"jquery.codeEditor"
],
"group": "ext.wikiEditor"
},
"jquery.codeEditor": {
"scripts": "jquery.codeEditor.js",
"styles": "jquery.codeEditor.less",
"dependencies": [
"ext.wikiEditor",
"ext.codeEditor.ace",
"jquery.ui.resizable",
"mediawiki.api",
"mediawiki.api.options",
"mediawiki.user",
"user.options",
"mediawiki.cookie",
"jquery.textSelection",
"oojs-ui-windows",
"oojs-ui.styles.icons-content",
"oojs-ui.styles.icons-editing-advanced",
"oojs-ui.styles.icons-editing-list",
"ext.codeEditor.icons"
],
"messages": [
"codeeditor-next-annotation",
"codeeditor-toolbar-toggle",
"codeeditor-save-with-errors",
"codeeditor-invisibleChars-toggle",
"codeeditor-lineWrapping-toggle",
"codeeditor-searchReplace-toggle",
"codeeditor-gotoline",
"codeeditor-gotoline-placeholder",
"codeeditor-gotoline-prompt",
"codeeditor-indent",
"codeeditor-outdent"
],
"group": "ext.wikiEditor"
},
"ext.codeEditor.icons": {
"class": "ResourceLoaderImageModule",
"selectorWithoutVariant": ".oo-ui-icon-{name}",
"selectorWithVariant": ".oo-ui-image-{variant}.oo-ui-icon-{name}",
"variants": {
"progressive": {
"color": "#36c"
}
},
"images": {
"gotoLine": {
"file": "../images/gotoLine.svg"
},
"pilcrow": {
"file": "../images/pilcrow.svg",
"variants": [ "progressive" ]
},
"wrapping": {
"file": "../images/wrapping.svg",
"variants": [ "progressive" ]
}
}
},
"ext.codeEditor.ace": {
"group": "ext.codeEditor.ace",
"scripts": [
"ace/ace.js",
"ace/mode-javascript.js",
"ace/mode-json.js",
"ace/mode-css.js",
"ace/mode-lua.js",
"ace/ext-language_tools.js",
"ace/ext-modelist.js"
]
},
"ext.codeEditor.ace.modes": {
"group": "ext.codeEditor.ace",
"scripts": [
"ace/mode-c_cpp.js",
"ace/mode-clojure.js",
"ace/mode-csharp.js",
"ace/mode-coffee.js",
"ace/mode-groovy.js",
"ace/mode-html.js",
"ace/mode-java.js",
"ace/mode-latex.js",
"ace/mode-ocaml.js",
"ace/mode-perl.js",
"ace/mode-php.js",
"ace/mode-python.js",
"ace/mode-ruby.js",
"ace/mode-scala.js"
],
"dependencies": "ext.codeEditor.ace"
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "CodeEditor/modules"
},
"AutoloadClasses": {
"CodeEditorHooks": "includes/CodeEditorHooks.php"
},
"manifest_version": 1
}