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]" ,
2020-02-24 20:08:02 +00:00
"[https://www.mediawiki.org/wiki/User:Florianschmidtwelzow Florian Schmidt]" ,
"Marijn Haverbeke" ,
"[https://raw.githubusercontent.com/codemirror/CodeMirror/master/AUTHORS CodeMirror contributors]"
2015-08-11 07:12:51 +00:00
] ,
"url" : "https://www.mediawiki.org/wiki/Extension:CodeMirror" ,
"descriptionmsg" : "codemirror-desc" ,
2018-04-26 07:33:09 +00:00
"type" : "editor" ,
2018-01-04 10:55:40 +00:00
"license-name" : "GPL-2.0-or-later" ,
2017-07-07 22:57:54 +00:00
"requires" : {
2023-03-14 03:33:13 +00:00
"MediaWiki" : ">= 1.40.0"
2017-07-18 18:13:46 +00:00
} ,
2020-12-11 11:30:44 +00:00
"config" : {
2021-04-12 09:25:22 +00:00
"CodeMirrorLineNumberingNamespaces" : {
2021-09-03 09:22:24 +00:00
"value" : null ,
"description" : "List of namespace IDs where line numbering should be enabled, or `null` to enable for all namespaces. Set to [] to disable everywhere. Defaults to `null` for all namespaces." ,
2021-04-12 09:25:22 +00:00
"public" : true
2020-12-11 11:30:44 +00:00
}
} ,
2015-08-11 07:12:51 +00:00
"MessagesDirs" : {
"CodeMirror" : [
"i18n"
]
} ,
2022-02-06 15:13:05 +00:00
"AutoloadNamespaces" : {
"MediaWiki\\Extension\\CodeMirror\\" : "includes/"
2015-08-11 07:12:51 +00:00
} ,
"ResourceModules" : {
2017-04-28 13:42:30 +00:00
"ext.CodeMirror" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
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
"jquery.textSelection" ,
2017-04-18 07:51:32 +00:00
"mediawiki.api" ,
2017-08-24 09:11:03 +00:00
"mediawiki.user" ,
2017-06-26 23:37:48 +00:00
"user.options" ,
2019-11-25 22:44:30 +00:00
"jquery.ui" ,
2018-03-22 14:52:27 +00:00
"oojs-ui.styles.icons-editing-styling"
2015-08-11 07:12:51 +00:00
] ,
"scripts" : [
"ext.CodeMirror.js"
] ,
2017-03-22 12:42:45 +00:00
"styles" : [
2018-04-12 22:14:15 +00:00
"ext.CodeMirror.less"
2017-03-22 12:42:45 +00:00
] ,
2015-08-11 07:12:51 +00:00
"messages" : [
2018-04-12 22:14:15 +00:00
"codemirror-toggle-label"
2015-08-11 07:12:51 +00:00
]
} ,
2017-08-13 16:06:41 +00:00
"ext.CodeMirror.data" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2022-02-06 15:13:05 +00:00
"class" : "MediaWiki\\Extension\\CodeMirror\\ResourceLoaderCodeMirrorModule"
2017-08-13 16:06:41 +00:00
} ,
2015-08-11 07:12:51 +00:00
"ext.CodeMirror.lib" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2015-08-11 07:12:51 +00:00
"scripts" : [
2017-04-28 13:42:30 +00:00
"lib/codemirror/lib/codemirror.js"
2015-08-11 07:12:51 +00:00
] ,
"styles" : [
2020-02-18 13:53:10 +00:00
"lib/codemirror/lib/codemirror.css" ,
"lib/codemirror-fixes.less"
2017-04-28 13:42:30 +00:00
]
} ,
2020-12-11 11:30:44 +00:00
"ext.CodeMirror.addons" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2020-12-11 11:30:44 +00:00
"scripts" : [
2021-01-14 08:36:37 +00:00
"addon/edit/matchbrackets-wmde.js"
2020-12-11 11:30:44 +00:00
] ,
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
2017-04-28 13:42:30 +00:00
"ext.CodeMirror.mode.mediawiki" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"scripts" : "mode/mediawiki/mediawiki.js" ,
2021-03-04 14:42:50 +00:00
"styles" : [
2022-06-14 11:20:34 +00:00
"mode/mediawiki/mediawiki.less" ,
2022-04-06 10:06:07 +00:00
"mode/mediawiki/colorblind-colors.less"
2021-03-04 14:42:50 +00:00
] ,
2017-04-28 13:42:30 +00:00
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
"ext.CodeMirror.lib.mode.css" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"scripts" : "lib/codemirror/mode/css/css.js" ,
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
"ext.CodeMirror.lib.mode.javascript" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"scripts" : "lib/codemirror/mode/javascript/javascript.js" ,
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
"ext.CodeMirror.lib.mode.xml" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"scripts" : "lib/codemirror/mode/xml/xml.js" ,
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
"ext.CodeMirror.lib.mode.htmlmixed" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"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" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"scripts" : "lib/codemirror/mode/clike/clike.js" ,
"dependencies" : [
"ext.CodeMirror.lib"
]
} ,
"ext.CodeMirror.lib.mode.php" : {
2023-03-14 03:33:13 +00:00
"targets" : [
"desktop" ,
"mobile"
] ,
2017-04-28 13:42:30 +00:00
"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" : [
"ext.visualEditor.mwcore" ,
"mediawiki.api" ,
"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"
} ,
2021-07-08 00:57:49 +00:00
"DefaultUserOptions" : {
"usecodemirror" : 0
} ,
2020-05-11 20:18:02 +00:00
"QUnitTestModule" : {
"localBasePath" : "" ,
"remoteExtPath" : "CodeMirror" ,
"scripts" : [
"resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js"
] ,
"dependencies" : [
"ext.CodeMirror.data" ,
"ext.CodeMirror.lib" ,
"ext.CodeMirror.mode.mediawiki"
]
} ,
2015-08-11 07:12:51 +00:00
"Hooks" : {
2022-09-19 19:01:32 +00:00
"BeforePageDisplay" : "main" ,
"GetPreferences" : "main" ,
"ResourceLoaderGetConfigVars" : "main"
} ,
"HookHandlers" : {
"main" : {
"class" : "MediaWiki\\Extension\\CodeMirror\\Hooks" ,
"services" : [
"UserOptionsLookup"
]
}
2015-08-11 07:12:51 +00:00
} ,
2020-05-12 15:31:02 +00:00
"attributes" : {
"CodeMirror" : {
2020-05-12 18:25:26 +00:00
"PluginModules" : [
2020-12-11 11:30:44 +00:00
"ext.CodeMirror.addons"
2020-05-12 18:25:26 +00:00
] ,
2020-05-12 15:31:02 +00:00
"TagModes" : {
"pre" : "mw-tag-pre" ,
"nowiki" : "mw-tag-nowiki"
}
} ,
"VisualEditor" : {
"PluginModules" : [
"ext.CodeMirror.visualEditor.init" ,
"ext.CodeMirror.visualEditor"
]
2020-11-19 16:20:25 +00:00
} ,
"EventLogging" : {
"Schemas" : {
2021-02-24 15:38:09 +00:00
"CodeMirrorUsage" : "/analytics/legacy/codemirrorusage/1.0.0"
2020-11-19 16:20:25 +00:00
}
2020-05-12 15:31:02 +00:00
}
} ,
"manifest_version" : 2
2015-08-11 07:12:51 +00:00
}