2015-08-11 07:12:51 +00:00
|
|
|
{
|
|
|
|
"name": "CodeMirror",
|
2017-04-28 13:42:30 +00:00
|
|
|
"version": "4.0.0",
|
2015-08-11 07:12:51 +00:00
|
|
|
"author": [
|
|
|
|
"[https://www.mediawiki.org/wiki/User:Pastakhov Pavel Astakhov]",
|
|
|
|
"[https://www.mediawiki.org/wiki/User:Florianschmidtwelzow Florian Schmidt]"
|
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:CodeMirror",
|
|
|
|
"descriptionmsg": "codemirror-desc",
|
|
|
|
"type": "parserhook",
|
|
|
|
"license-name": "GPL-2.0+",
|
2017-07-07 22:57:54 +00:00
|
|
|
"requires": {
|
|
|
|
"MediaWiki": ">= 1.23.0"
|
2017-07-18 18:13:46 +00:00
|
|
|
},
|
2015-08-11 07:12:51 +00:00
|
|
|
"MessagesDirs": {
|
|
|
|
"CodeMirror": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2017-08-04 00:48:59 +00:00
|
|
|
"CodeMirrorHooks": "CodeMirror.hooks.php",
|
|
|
|
"ResourceLoaderCodeMirrorModule": "ResourceLoaderCodeMirrorModule.php"
|
2015-08-11 07:12:51 +00:00
|
|
|
},
|
|
|
|
"ResourceModules": {
|
2017-04-28 13:42:30 +00:00
|
|
|
"ext.CodeMirror": {
|
2015-08-11 07:12:51 +00:00
|
|
|
"dependencies": [
|
2017-08-13 16:06:41 +00:00
|
|
|
"ext.CodeMirror.data",
|
2015-08-11 07:12:51 +00:00
|
|
|
"ext.CodeMirror.lib",
|
2017-04-28 13:42:30 +00:00
|
|
|
"ext.CodeMirror.mode.mediawiki",
|
2015-08-11 07:12:51 +00:00
|
|
|
"jquery.textSelection",
|
2017-04-18 07:51:32 +00:00
|
|
|
"mediawiki.api",
|
|
|
|
"mediawiki.api.options",
|
2017-08-24 09:11:03 +00:00
|
|
|
"mediawiki.user",
|
2017-06-26 23:37:48 +00:00
|
|
|
"user.options",
|
2017-07-03 20:52:27 +00:00
|
|
|
"oojs-ui-widgets",
|
2017-11-06 23:42:05 +00:00
|
|
|
"mediawiki.storage",
|
|
|
|
"jquery.ui.resizable"
|
2015-08-11 07:12:51 +00:00
|
|
|
],
|
|
|
|
"scripts": [
|
|
|
|
"ext.CodeMirror.js"
|
|
|
|
],
|
2017-03-22 12:42:45 +00:00
|
|
|
"styles": [
|
2017-06-26 23:37:48 +00:00
|
|
|
"ext.CodeMirror.less",
|
|
|
|
"modules/popup.less"
|
2017-03-22 12:42:45 +00:00
|
|
|
],
|
2015-08-11 07:12:51 +00:00
|
|
|
"messages": [
|
2017-06-26 23:37:48 +00:00
|
|
|
"codemirror-toggle-label",
|
2017-09-11 02:23:22 +00:00
|
|
|
"codemirror-popup-label",
|
2017-06-26 23:37:48 +00:00
|
|
|
"codemirror-popup-desc",
|
|
|
|
"codemirror-popup-btn-yes",
|
|
|
|
"codemirror-popup-btn-no"
|
2015-08-11 07:12:51 +00:00
|
|
|
]
|
|
|
|
},
|
2017-08-13 16:06:41 +00:00
|
|
|
"ext.CodeMirror.data": {
|
|
|
|
"class": "ResourceLoaderCodeMirrorModule"
|
|
|
|
},
|
2015-08-11 07:12:51 +00:00
|
|
|
"ext.CodeMirror.lib": {
|
|
|
|
"scripts": [
|
2017-04-28 13:42:30 +00:00
|
|
|
"lib/codemirror/lib/codemirror.js"
|
2015-08-11 07:12:51 +00:00
|
|
|
],
|
|
|
|
"styles": [
|
2017-04-28 13:42:30 +00:00
|
|
|
"lib/codemirror/lib/codemirror.css"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.mode.mediawiki": {
|
|
|
|
"scripts": "mode/mediawiki/mediawiki.js",
|
|
|
|
"styles": "mode/mediawiki/mediawiki.css",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.css": {
|
|
|
|
"scripts": "lib/codemirror/mode/css/css.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.javascript": {
|
|
|
|
"scripts": "lib/codemirror/mode/javascript/javascript.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.xml": {
|
|
|
|
"scripts": "lib/codemirror/mode/xml/xml.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.htmlmixed": {
|
|
|
|
"scripts": "lib/codemirror/mode/htmlmixed/htmlmixed.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib.mode.xml",
|
|
|
|
"ext.CodeMirror.lib.mode.javascript",
|
|
|
|
"ext.CodeMirror.lib.mode.css",
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.clike": {
|
|
|
|
"scripts": "lib/codemirror/mode/clike/clike.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib.mode.php": {
|
|
|
|
"scripts": "lib/codemirror/mode/php/php.js",
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib.mode.htmlmixed",
|
|
|
|
"ext.CodeMirror.lib.mode.clike",
|
|
|
|
"ext.CodeMirror.lib"
|
2015-08-11 07:12:51 +00:00
|
|
|
]
|
2017-03-21 14:42:04 +00:00
|
|
|
},
|
|
|
|
"ext.CodeMirror.visualEditor.init": {
|
|
|
|
"scripts": [
|
|
|
|
"modules/ve-cm/ve.ui.CodeMirror.init.js"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"modules/ve-cm/ve.ui.CodeMirror.init.less"
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
"codemirror-toggle-label"
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
"desktop"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.visualEditor": {
|
|
|
|
"dependencies": [
|
2017-08-13 16:06:41 +00:00
|
|
|
"ext.CodeMirror.data",
|
2017-03-21 14:42:04 +00:00
|
|
|
"ext.visualEditor.mwcore",
|
|
|
|
"ext.CodeMirror.lib",
|
|
|
|
"ext.CodeMirror.mode.mediawiki",
|
|
|
|
"mediawiki.api",
|
|
|
|
"mediawiki.api.options",
|
|
|
|
"user.options"
|
|
|
|
],
|
|
|
|
"scripts": [
|
|
|
|
"modules/ve-cm/ve.ui.CodeMirrorAction.js",
|
|
|
|
"modules/ve-cm/ve.ui.CodeMirrorTool.js"
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
"desktop"
|
|
|
|
]
|
2015-08-11 07:12:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "resources",
|
|
|
|
"remoteExtPath": "CodeMirror/resources"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"BeforePageDisplay": [
|
|
|
|
"CodeMirrorHooks::onBeforePageDisplay"
|
|
|
|
],
|
|
|
|
"GetPreferences": [
|
|
|
|
"CodeMirrorHooks::onGetPreferences"
|
2017-06-12 23:37:25 +00:00
|
|
|
],
|
|
|
|
"GetBetaFeaturePreferences": [
|
|
|
|
"CodeMirrorHooks::onGetBetaFeaturePreferences"
|
2015-08-11 07:12:51 +00:00
|
|
|
]
|
|
|
|
},
|
2017-03-21 14:42:04 +00:00
|
|
|
"VisualEditorPluginModules": [
|
|
|
|
"ext.CodeMirror.visualEditor.init",
|
|
|
|
"ext.CodeMirror.visualEditor"
|
|
|
|
],
|
2015-08-11 07:12:51 +00:00
|
|
|
"config": {
|
2017-06-12 23:37:25 +00:00
|
|
|
"CodeMirrorBetaFeature": false
|
2015-08-11 07:12:51 +00:00
|
|
|
},
|
2017-04-28 13:42:30 +00:00
|
|
|
"CodeMirrorTagModes": {
|
|
|
|
"pre": "mw-tag-pre",
|
|
|
|
"nowiki": "mw-tag-nowiki"
|
|
|
|
},
|
|
|
|
"CodeMirrorPluginModules": [],
|
2015-08-11 07:12:51 +00:00
|
|
|
"manifest_version": 1
|
|
|
|
}
|