2015-03-03 01:55:52 +00:00
|
|
|
{
|
|
|
|
"name": "CodeEditor",
|
|
|
|
"author": [
|
|
|
|
"Brion Vibber",
|
|
|
|
"Derk-Jan Hartman",
|
2018-04-14 01:30:08 +00:00
|
|
|
"[https://ace.c9.io/ authors of Ace]"
|
2015-03-03 01:55:52 +00:00
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:CodeEditor",
|
|
|
|
"descriptionmsg": "codeeditor-desc",
|
2018-04-14 01:35:20 +00:00
|
|
|
"license-name": "GPL-2.0-or-later AND BSD-3-Clause",
|
2018-04-14 05:08:11 +00:00
|
|
|
"type": "editor",
|
2015-09-23 15:54:29 +00:00
|
|
|
"requires": {
|
2019-10-28 09:02:20 +00:00
|
|
|
"MediaWiki": ">= 1.35.0",
|
2016-12-16 19:11:45 +00:00
|
|
|
"extensions": {
|
2018-07-24 23:13:06 +00:00
|
|
|
"WikiEditor": ">= 0.5.2"
|
2016-12-16 19:11:45 +00:00
|
|
|
}
|
2015-09-23 15:54:29 +00:00
|
|
|
},
|
2015-03-03 01:55:52 +00:00
|
|
|
"Hooks": {
|
2020-03-11 09:07:02 +00:00
|
|
|
"EditPage::showEditForm:initial": "CodeEditorHooks::editPageShowEditFormInitial",
|
|
|
|
"EditPage::showReadOnlyForm:initial": "CodeEditorHooks::editPageShowEditFormInitial",
|
|
|
|
"GetPreferences": "CodeEditorHooks::getPreferences"
|
2015-03-03 01:55:52 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"CodeEditor": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
2017-04-13 11:46:10 +00:00
|
|
|
"DefaultUserOptions": {
|
|
|
|
"usecodeeditor": 1
|
|
|
|
},
|
2015-03-03 01:55:52 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"ext.codeEditor": {
|
|
|
|
"scripts": "ext.codeEditor.js",
|
|
|
|
"dependencies": [
|
|
|
|
"jquery.codeEditor"
|
|
|
|
],
|
|
|
|
"group": "ext.wikiEditor"
|
|
|
|
},
|
|
|
|
"jquery.codeEditor": {
|
|
|
|
"scripts": "jquery.codeEditor.js",
|
2016-02-27 22:39:07 +00:00
|
|
|
"styles": "jquery.codeEditor.less",
|
2015-03-03 01:55:52 +00:00
|
|
|
"dependencies": [
|
2018-01-03 20:18:59 +00:00
|
|
|
"ext.wikiEditor",
|
2015-03-03 01:55:52 +00:00
|
|
|
"ext.codeEditor.ace",
|
2019-11-26 20:06:12 +00:00
|
|
|
"jquery.ui",
|
2015-03-03 01:55:52 +00:00
|
|
|
"mediawiki.api",
|
2017-06-13 05:22:45 +00:00
|
|
|
"mediawiki.user",
|
2015-05-26 20:19:52 +00:00
|
|
|
"user.options",
|
2016-08-04 19:59:16 +00:00
|
|
|
"mediawiki.cookie",
|
2016-12-09 13:50:28 +00:00
|
|
|
"jquery.textSelection",
|
2018-03-21 18:35:13 +00:00
|
|
|
"oojs-ui-windows",
|
2018-04-02 21:25:43 +00:00
|
|
|
"oojs-ui.styles.icons-content",
|
2018-03-21 18:35:13 +00:00
|
|
|
"oojs-ui.styles.icons-editing-advanced",
|
|
|
|
"oojs-ui.styles.icons-editing-list",
|
|
|
|
"ext.codeEditor.icons"
|
2015-03-03 01:55:52 +00:00
|
|
|
],
|
|
|
|
"messages": [
|
2015-05-26 20:19:52 +00:00
|
|
|
"codeeditor-next-annotation",
|
2015-03-03 01:55:52 +00:00
|
|
|
"codeeditor-toolbar-toggle",
|
2015-05-26 20:19:52 +00:00
|
|
|
"codeeditor-save-with-errors",
|
|
|
|
"codeeditor-invisibleChars-toggle",
|
|
|
|
"codeeditor-lineWrapping-toggle",
|
|
|
|
"codeeditor-searchReplace-toggle",
|
|
|
|
"codeeditor-gotoline",
|
2016-12-09 13:49:46 +00:00
|
|
|
"codeeditor-gotoline-placeholder",
|
|
|
|
"codeeditor-gotoline-prompt",
|
2015-05-26 20:19:52 +00:00
|
|
|
"codeeditor-indent",
|
|
|
|
"codeeditor-outdent"
|
2015-03-03 01:55:52 +00:00
|
|
|
],
|
|
|
|
"group": "ext.wikiEditor"
|
|
|
|
},
|
2018-03-21 18:35:13 +00:00
|
|
|
"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" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-03-03 01:55:52 +00:00
|
|
|
"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",
|
2016-10-20 10:06:28 +00:00
|
|
|
"ace/ext-language_tools.js",
|
|
|
|
"ace/ext-modelist.js"
|
2015-03-03 01:55:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"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",
|
2015-11-18 21:45:56 +00:00
|
|
|
"ace/mode-latex.js",
|
2015-03-03 01:55:52 +00:00
|
|
|
"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": {
|
2018-02-09 08:25:20 +00:00
|
|
|
"CodeEditorHooks": "includes/CodeEditorHooks.php"
|
2015-06-06 00:52:10 +00:00
|
|
|
},
|
|
|
|
"manifest_version": 1
|
2015-03-03 01:55:52 +00:00
|
|
|
}
|