mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 16:40:07 +00:00
Make use of new WikiEditor 2010 toggle tool
Set a specific WikiEditor version dependency of 0.5.2. Bug: T198781 Change-Id: I6664a7ff2383d83c7d0fa1fd45e2539fad40c1d0 Depends-On: I8b7fd41571a48fa4f6560790d94bb966972e740f
This commit is contained in:
parent
249b5c1c73
commit
e8fbe62ef0
|
@ -12,7 +12,7 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"MediaWiki": ">= 1.32.0",
|
"MediaWiki": ">= 1.32.0",
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"WikiEditor": "*"
|
"WikiEditor": ">= 0.5.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Hooks": {
|
"Hooks": {
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
tools: {
|
tools: {
|
||||||
codeEditor: {
|
codeEditor: {
|
||||||
labelMsg: 'codeeditor-toolbar-toggle',
|
labelMsg: 'codeeditor-toolbar-toggle',
|
||||||
type: 'button',
|
type: 'toggle',
|
||||||
oouiIcon: 'markup',
|
oouiIcon: 'markup',
|
||||||
action: {
|
action: {
|
||||||
type: 'callback',
|
type: 'callback',
|
||||||
|
@ -252,7 +252,7 @@
|
||||||
tools: {
|
tools: {
|
||||||
invisibleChars: {
|
invisibleChars: {
|
||||||
labelMsg: 'codeeditor-invisibleChars-toggle',
|
labelMsg: 'codeeditor-invisibleChars-toggle',
|
||||||
type: 'button',
|
type: 'toggle',
|
||||||
oouiIcon: 'pilcrow',
|
oouiIcon: 'pilcrow',
|
||||||
action: {
|
action: {
|
||||||
type: 'callback',
|
type: 'callback',
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
},
|
},
|
||||||
lineWrapping: {
|
lineWrapping: {
|
||||||
labelMsg: 'codeeditor-lineWrapping-toggle',
|
labelMsg: 'codeeditor-lineWrapping-toggle',
|
||||||
type: 'button',
|
type: 'toggle',
|
||||||
oouiIcon: 'wrapping',
|
oouiIcon: 'wrapping',
|
||||||
action: {
|
action: {
|
||||||
type: 'callback',
|
type: 'callback',
|
||||||
|
@ -279,7 +279,7 @@
|
||||||
},
|
},
|
||||||
toggleSearchReplace: {
|
toggleSearchReplace: {
|
||||||
labelMsg: 'codeeditor-searchReplace-toggle',
|
labelMsg: 'codeeditor-searchReplace-toggle',
|
||||||
type: 'button',
|
type: 'toggle',
|
||||||
oouiIcon: 'articleSearch',
|
oouiIcon: 'articleSearch',
|
||||||
action: {
|
action: {
|
||||||
type: 'callback',
|
type: 'callback',
|
||||||
|
|
Loading…
Reference in a new issue