mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
925775778a
Add new temporary ext.CodeMirror.visualEditor.init RL module which selects the temporary ext.CodeMirror.visualEditor.v6 or non-v6 based on $wgCodeMirrorV6. This will allow us to deploy CM6 further. As a result of this work, the core CodeMirror class now has knowledge of ve.ui.Surface. Other changes: * Add Compartment for specialCharsExtension so it can be disabled in VE. * Add option to mediaWikiLang() to disable template folding. * Add support for RTL wikis where $wgCodeMirrorRTL is enabled. * Make CodeMirror.logUsage() and setCodeMirrorPreference() static. * Fix unit and linting tests. Some code courtesy of Fandom, GPLv2-or-later; see: https://github.com/Wikia/mediawiki-extensions-CodeMirror/commit/ef297c48c Bug: T357482 Change-Id: I15453b33e77e1c1b4d5e5183e41e53d56ff14c3e
53 lines
2.2 KiB
JSON
53 lines
2.2 KiB
JSON
{
|
|
"opts": {
|
|
"encoding": "utf8",
|
|
"destination": "docs/js",
|
|
"package": "package.json",
|
|
"readme": "README.md",
|
|
"recurse": true,
|
|
"template": "node_modules/jsdoc-wmf-theme"
|
|
},
|
|
"plugins": [
|
|
"node_modules/jsdoc-wmf-theme/plugins/default"
|
|
],
|
|
"source": {
|
|
"include": [ "resources" ],
|
|
"exclude": [ "resources/legacy", "resources/lib" ],
|
|
"includePattern": ".+\\.js$"
|
|
},
|
|
"tags": {},
|
|
"templates": {
|
|
"cleverLinks": true,
|
|
"default": {
|
|
"useLongnameInNav": true
|
|
},
|
|
"wmf": {
|
|
"maintitle": "CodeMirror",
|
|
"repository": "https://gerrit.wikimedia.org/g/mediawiki/extensions/CodeMirror",
|
|
"linkMap": {
|
|
"jQuery.fn.textSelection": "https://doc.wikimedia.org/mediawiki-core/master/js/jQueryPlugins.html#.textSelection",
|
|
"Compartment": "https://codemirror.net/docs/ref/#state.Compartment",
|
|
"Decoration": "https://codemirror.net/docs/ref/#view.Decoration",
|
|
"DecorationSet": "https://codemirror.net/docs/ref/#view.DecorationSet",
|
|
"Direction": "https://codemirror.net/docs/ref/#view.Direction",
|
|
"EditorState": "https://codemirror.net/docs/ref/#state.EditorState",
|
|
"EditorView": "https://codemirror.net/docs/ref/#view.EditorView",
|
|
"Extension": "https://codemirror.net/docs/ref/#state.Extension",
|
|
"KeyBinding": "https://codemirror.net/docs/ref/#view.KeyBinding",
|
|
"LanguageSupport": "https://codemirror.net/docs/ref/#language.LanguageSupport",
|
|
"PluginSpec": "https://codemirror.net/docs/ref/#view.PluginSpec",
|
|
"RangeSet": "https://codemirror.net/docs/ref/#state.RangeSet",
|
|
"StreamParser": "https://codemirror.net/docs/ref/#language.StreamParser",
|
|
"StringStream": "https://codemirror.net/docs/ref/#language.StringStream",
|
|
"SyntaxNode": "https://lezer.codemirror.net/docs/ref/#common.SyntaxNode",
|
|
"Tag": "https://lezer.codemirror.net/docs/ref/#highlight.Tag",
|
|
"TagStyle": "https://codemirror.net/docs/ref/#language.TagStyle",
|
|
"Tooltip": "https://codemirror.net/docs/ref/#view.Tooltip",
|
|
"Tree": "https://lezer.codemirror.net/docs/ref/#common.Tree",
|
|
"ViewUpdate": "https://codemirror.net/docs/ref/#view.ViewUpdate",
|
|
"ve.ui.Surface": "https://doc.wikimedia.org/visualeditor-standalone/master/ve.ui.Surface.html"
|
|
}
|
|
}
|
|
}
|
|
}
|