2015-08-11 07:12:51 +00:00
|
|
|
{
|
|
|
|
"name": "CodeMirror",
|
2015-12-14 05:28:57 +00:00
|
|
|
"version": "3.4.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+",
|
|
|
|
"MessagesDirs": {
|
|
|
|
"CodeMirror": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
|
|
|
"CodeMirrorHooks": "CodeMirror.hooks.php"
|
|
|
|
},
|
|
|
|
"ResourceModules": {
|
|
|
|
"ext.CodeMirror.init": {
|
|
|
|
"dependencies": [
|
|
|
|
"ext.CodeMirror.lib",
|
|
|
|
"ext.CodeMirror.other",
|
|
|
|
"jquery.textSelection",
|
2017-04-18 07:51:32 +00:00
|
|
|
"mediawiki.api",
|
|
|
|
"mediawiki.api.options",
|
|
|
|
"user.options"
|
2015-08-11 07:12:51 +00:00
|
|
|
],
|
|
|
|
"scripts": [
|
|
|
|
"ext.CodeMirror.js"
|
|
|
|
],
|
2017-03-22 12:42:45 +00:00
|
|
|
"styles": [
|
|
|
|
"ext.CodeMirror.less"
|
|
|
|
],
|
2015-08-11 07:12:51 +00:00
|
|
|
"messages": [
|
|
|
|
"codemirror-enable-label",
|
|
|
|
"codemirror-disable-label"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.CodeMirror.lib": {
|
|
|
|
"scripts": [
|
|
|
|
"lib/codemirror/lib/codemirror.js",
|
|
|
|
"lib/codemirror/addon/selection/active-line.js",
|
|
|
|
"mode/mediawiki/mediawiki.js"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"lib/codemirror/lib/codemirror.css",
|
|
|
|
"lib/codemirror/addon/lint/lint.css",
|
|
|
|
"mode/mediawiki/mediawiki.css"
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "resources",
|
|
|
|
"remoteExtPath": "CodeMirror/resources"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"MakeGlobalVariablesScript": [
|
|
|
|
"CodeMirrorHooks::onMakeGlobalVariablesScript"
|
|
|
|
],
|
|
|
|
"BeforePageDisplay": [
|
|
|
|
"CodeMirrorHooks::onBeforePageDisplay"
|
|
|
|
],
|
|
|
|
"GetPreferences": [
|
|
|
|
"CodeMirrorHooks::onGetPreferences"
|
|
|
|
],
|
|
|
|
"ResourceLoaderRegisterModules": [
|
|
|
|
"CodeMirrorHooks::onResourceLoaderRegisterModules"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"CodeMirrorEnableFrontend": true
|
|
|
|
},
|
|
|
|
"manifest_version": 1
|
|
|
|
}
|