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:
Derk-Jan Hartman 2018-07-25 01:13:06 +02:00 committed by James D. Forrester
parent 249b5c1c73
commit e8fbe62ef0
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@
"requires": { "requires": {
"MediaWiki": ">= 1.32.0", "MediaWiki": ">= 1.32.0",
"extensions": { "extensions": {
"WikiEditor": "*" "WikiEditor": ">= 0.5.2"
} }
}, },
"Hooks": { "Hooks": {

View file

@ -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',