2015-03-03 01:55:52 +00:00
|
|
|
{
|
|
|
|
"name": "CodeEditor",
|
|
|
|
"author": [
|
|
|
|
"Brion Vibber",
|
|
|
|
"Derk-Jan Hartman",
|
2016-01-27 11:01:54 +00:00
|
|
|
"authors of Ace (ace.c9.io)"
|
2015-03-03 01:55:52 +00:00
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:CodeEditor",
|
|
|
|
"descriptionmsg": "codeeditor-desc",
|
2018-01-04 10:55:38 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-03-03 01:55:52 +00:00
|
|
|
"type": "other",
|
2015-09-23 15:54:29 +00:00
|
|
|
"requires": {
|
2016-12-09 14:55:17 +00:00
|
|
|
"MediaWiki": ">= 1.29.0",
|
2016-12-16 19:11:45 +00:00
|
|
|
"extensions": {
|
|
|
|
"WikiEditor": "*"
|
|
|
|
}
|
2015-09-23 15:54:29 +00:00
|
|
|
},
|
2015-03-03 01:55:52 +00:00
|
|
|
"Hooks": {
|
|
|
|
"EditPage::showEditForm:initial": [
|
|
|
|
"CodeEditorHooks::editPageShowEditFormInitial"
|
|
|
|
],
|
|
|
|
"EditPage::showReadOnlyForm:initial": [
|
|
|
|
"CodeEditorHooks::editPageShowEditFormInitial"
|
|
|
|
],
|
|
|
|
"GetPreferences": [
|
|
|
|
"CodeEditorHooks::getPreferences"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"CodeEditor": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"config": {
|
2016-10-31 12:57:31 +00:00
|
|
|
"CodeEditorEnableCore": true
|
2015-03-03 01:55:52 +00:00
|
|
|
},
|
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",
|
|
|
|
"jquery.ui.resizable",
|
|
|
|
"mediawiki.api",
|
2015-11-29 16:00:13 +00:00
|
|
|
"mediawiki.api.options",
|
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",
|
|
|
|
"oojs-ui-windows"
|
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"
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|