mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 08:30:26 +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": {
|
||||
"MediaWiki": ">= 1.32.0",
|
||||
"extensions": {
|
||||
"WikiEditor": "*"
|
||||
"WikiEditor": ">= 0.5.2"
|
||||
}
|
||||
},
|
||||
"Hooks": {
|
||||
|
|
|
@ -216,7 +216,7 @@
|
|||
tools: {
|
||||
codeEditor: {
|
||||
labelMsg: 'codeeditor-toolbar-toggle',
|
||||
type: 'button',
|
||||
type: 'toggle',
|
||||
oouiIcon: 'markup',
|
||||
action: {
|
||||
type: 'callback',
|
||||
|
@ -252,7 +252,7 @@
|
|||
tools: {
|
||||
invisibleChars: {
|
||||
labelMsg: 'codeeditor-invisibleChars-toggle',
|
||||
type: 'button',
|
||||
type: 'toggle',
|
||||
oouiIcon: 'pilcrow',
|
||||
action: {
|
||||
type: 'callback',
|
||||
|
@ -261,7 +261,7 @@
|
|||
},
|
||||
lineWrapping: {
|
||||
labelMsg: 'codeeditor-lineWrapping-toggle',
|
||||
type: 'button',
|
||||
type: 'toggle',
|
||||
oouiIcon: 'wrapping',
|
||||
action: {
|
||||
type: 'callback',
|
||||
|
@ -279,7 +279,7 @@
|
|||
},
|
||||
toggleSearchReplace: {
|
||||
labelMsg: 'codeeditor-searchReplace-toggle',
|
||||
type: 'button',
|
||||
type: 'toggle',
|
||||
oouiIcon: 'articleSearch',
|
||||
action: {
|
||||
type: 'callback',
|
||||
|
|
Loading…
Reference in a new issue