From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- .../WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js (limited to 'extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js') diff --git a/extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js b/extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js deleted file mode 100644 index 48d30274..00000000 --- a/extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Remove the signature button if the main namespace is edited. - */ -jQuery( document ).ready( function ( $ ) { - // This module is designed not to depend on ext.wikiEditor or jquery.wikiEditor. - // Removing this dependency fixed various bugs, but it does mean that we have to - // account for the situation where $.wikiEditor is not present - if ( !$.wikiEditor || !$.wikiEditor.isSupported( $.wikiEditor.modules.toolbar ) ) { - return; - } - if ( $( 'body' ).hasClass( 'ns-0' ) ) { - $( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { 'section': 'main', 'group': 'insert', 'tool': 'signature' } ); - } -} ); -- cgit v1.2.3-54-g00ecf