Tinaj1234 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/94500
Change subject: Removed indentation button from WikiEditor toolbar.
......................................................................
Removed indentation button from WikiEditor toolbar.
Removed the button,image and label messages.
Bug: 24489
Change-Id: Iab7eeb3c780f9436cc8cd99b6ad21ebac8a450e2
---
M WikiEditor.i18n.php
M WikiEditor.php
D modules/images/toolbar/format-indent-rtl.png
D modules/images/toolbar/format-indent.png
M modules/jquery.wikiEditor.toolbar.config.js
5 files changed, 0 insertions(+), 26 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor
refs/changes/00/94500/1
diff --git a/WikiEditor.i18n.php b/WikiEditor.i18n.php
index d63aea3..0516863 100644
--- a/WikiEditor.i18n.php
+++ b/WikiEditor.i18n.php
@@ -120,8 +120,6 @@
'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',
diff --git a/WikiEditor.php b/WikiEditor.php
index 103c9eb..838e984 100644
--- a/WikiEditor.php
+++ b/WikiEditor.php
@@ -269,8 +269,6 @@
'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',
diff --git a/modules/images/toolbar/format-indent-rtl.png
b/modules/images/toolbar/format-indent-rtl.png
deleted file mode 100644
index 6dbad6d..0000000
--- a/modules/images/toolbar/format-indent-rtl.png
+++ /dev/null
Binary files differ
diff --git a/modules/images/toolbar/format-indent.png
b/modules/images/toolbar/format-indent.png
deleted file mode 100644
index ec1ba45..0000000
--- a/modules/images/toolbar/format-indent.png
+++ /dev/null
Binary files differ
diff --git a/modules/jquery.wikiEditor.toolbar.config.js
b/modules/jquery.wikiEditor.toolbar.config.js
index 15914f4..907180c 100644
--- a/modules/jquery.wikiEditor.toolbar.config.js
+++ b/modules/jquery.wikiEditor.toolbar.config.js
@@ -313,28 +313,6 @@
}
}
},
- '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',
--
To view, visit https://gerrit.wikimedia.org/r/94500
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab7eeb3c780f9436cc8cd99b6ad21ebac8a450e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Tinaj1234 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits