diff --git a/extension.json b/extension.json index a3c20fd0..f4788a55 100644 --- a/extension.json +++ b/extension.json @@ -90,7 +90,6 @@ "dialogReplace.html": "templates/dialogReplace.html" }, "messages": [ - "wikieditor-wikitext-tab", "wikieditor-toolbar-tool-bold", "wikieditor-toolbar-tool-bold-example", "wikieditor-toolbar-tool-italic", diff --git a/i18n/en.json b/i18n/en.json index 2837e41e..7652ec64 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -6,7 +6,6 @@ }, "wikieditor": "Advanced wikitext editing interface", "wikieditor-desc": "Provides an advanced, extensible wikitext editing interface", - "wikieditor-wikitext-tab": "Wikitext", "wikieditor-toolbar": "Editing toolbar", "wikieditor-toolbar-desc": "Edit page toolbar with enhanced usability", "wikieditor-toolbar-preference": "Enable the editing toolbar", diff --git a/i18n/qqq.json b/i18n/qqq.json index 273c0497..b44f95fd 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -39,7 +39,6 @@ }, "wikieditor": "An extension to provide an advanced, extensible wikitext editing interface.\nhttps://www.mediawiki.org/wiki/Extension:WikiEditor", "wikieditor-desc": "Sorry, the documentation apears out of date:\n\n\n{{desc|name=WikiEditor|url=https://www.mediawiki.org/wiki/Extension:WikiEditor}}", - "wikieditor-wikitext-tab": "Caption of the tab containing the edit box\n{{Identical|Wikitext}}", "wikieditor-toolbar": "A customizable toolbar for the WikiEditor.\nFor more information, see https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization", "wikieditor-toolbar-desc": "Unused at this time.", "wikieditor-toolbar-preference": "Label for the checkbox user preference to enable the editor. By default this is checked.", diff --git a/modules/jquery.wikiEditor.js b/modules/jquery.wikiEditor.js index a38fa3dd..4d2859df 100644 --- a/modules/jquery.wikiEditor.js +++ b/modules/jquery.wikiEditor.js @@ -388,79 +388,6 @@ $.fn.wikiEditor = function () { return returnFromModules; }, - /** - * Adds a button to the UI - * - * @param {Object} options - * @return {jQuery} - */ - addButton: function ( options ) { - // Ensure that buttons and tabs are visible - context.$controls.show(); - context.$buttons.show(); - return $( '