mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-09-24 10:50:17 +00:00
Merge "Removed indentation button from WikiEditor toolbar."
This commit is contained in:
commit
8f294c5427
|
@ -120,8 +120,6 @@ Do you want to make it an internal link?',
|
|||
'wikieditor-toolbar-tool-ulist-example' => 'Bulleted list item',
|
||||
'wikieditor-toolbar-tool-olist' => 'Numbered list',
|
||||
'wikieditor-toolbar-tool-olist-example' => 'Numbered list item',
|
||||
'wikieditor-toolbar-tool-indent' => 'Indentation',
|
||||
'wikieditor-toolbar-tool-indent-example' => 'Indented line',
|
||||
'wikieditor-toolbar-tool-nowiki' => 'No wiki formatting',
|
||||
'wikieditor-toolbar-tool-nowiki-example' => 'Insert non-formatted text here',
|
||||
'wikieditor-toolbar-tool-redirect' => 'Redirect',
|
||||
|
|
|
@ -269,8 +269,6 @@ $wgResourceModules += array(
|
|||
'wikieditor-toolbar-tool-ulist-example',
|
||||
'wikieditor-toolbar-tool-olist',
|
||||
'wikieditor-toolbar-tool-olist-example',
|
||||
'wikieditor-toolbar-tool-indent',
|
||||
'wikieditor-toolbar-tool-indent-example',
|
||||
'wikieditor-toolbar-tool-nowiki',
|
||||
'wikieditor-toolbar-tool-nowiki-example',
|
||||
'wikieditor-toolbar-tool-redirect',
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 317 B |
Binary file not shown.
Before Width: | Height: | Size: 316 B |
|
@ -316,28 +316,6 @@ getDefaultConfig: function() {
|
|||
}
|
||||
}
|
||||
},
|
||||
'indent': {
|
||||
'labelMsg': 'wikieditor-toolbar-tool-indent',
|
||||
'type': 'button',
|
||||
'icon': {
|
||||
'default': 'format-indent.png',
|
||||
'default-rtl': 'format-indent-rtl.png'
|
||||
},
|
||||
'offset': {
|
||||
'default': [2, -646],
|
||||
'default-rtl': [-70, -430]
|
||||
},
|
||||
'action': {
|
||||
'type': 'encapsulate',
|
||||
'options': {
|
||||
'pre': ":",
|
||||
'periMsg': 'wikieditor-toolbar-tool-indent-example',
|
||||
'post': "",
|
||||
'ownline': true,
|
||||
'splitlines': true
|
||||
}
|
||||
}
|
||||
},
|
||||
'nowiki': {
|
||||
'labelMsg': 'wikieditor-toolbar-tool-nowiki',
|
||||
'type': 'button',
|
||||
|
|
Loading…
Reference in a new issue