mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
506d998767
This patch adds an icon displayed above the cursor inside a template. By clicking it, the template parameters become hidden and replaced by three dots, while the template name remains visible. Clicking the dots will unfold the template. New key bindings include fold (Ctrl-Shift-[/Cmd-Alt-[), unfold (Ctrl-Shift-]/Cmd-Alt-]) and unfoldAll (Ctrl-Alt-]). Bug: T30684 Change-Id: I631fe0ecf21d0a80306bd40d66d22478a1aefe58
20 lines
631 B
JSON
20 lines
631 B
JSON
{
|
||
"@metadata": {
|
||
"authors": [
|
||
"Diskdance",
|
||
"Liuxinyu970226",
|
||
"Sean0115",
|
||
"Stang",
|
||
"Tranve"
|
||
]
|
||
},
|
||
"codemirror-desc": "在wikitext编辑器中提供语法高亮显示",
|
||
"codemirror-toggle-label": "语法高亮",
|
||
"codemirror-prefs-colorblind": "编辑wikitext时,启用对色盲用户友好的语法高亮配色方案",
|
||
"codemirror-prefs-colorblind-help": "如果您的语法高亮功能由小工具提供,本设置将不起作用。",
|
||
"codemirror-fold-template": "折叠模板参数",
|
||
"codemirror-unfold": "展开",
|
||
"codemirror-folded-code": "被折叠的代码",
|
||
"prefs-accessibility": "无障碍"
|
||
}
|