Pwirth has uploaded a new change for review. https://gerrit.wikimedia.org/r/152227
Change subject: Restored old UserSide - /Widgetbar functionality ...................................................................... Restored old UserSide - /Widgetbar functionality Change-Id: Ia857f5178ab0f7ccf36ecacf6a2e999a67e672a0 --- M UserSidebar/UserSidebar.class.php M WidgetBar/resources/bluespice.widgetBar.js 2 files changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/27/152227/1 diff --git a/UserSidebar/UserSidebar.class.php b/UserSidebar/UserSidebar.class.php index ee1695a..064993c 100644 --- a/UserSidebar/UserSidebar.class.php +++ b/UserSidebar/UserSidebar.class.php @@ -98,7 +98,8 @@ * @return boolean */ public function onBeforePageDisplay( $oOutputPage, $oSkinTemplate ) { - $oOutputPage->addModules( 'ext.bluespice.usersidebar' ); + //Removed module to restore old functionality + //$oOutputPage->addModules( 'ext.bluespice.usersidebar' ); return true; } diff --git a/WidgetBar/resources/bluespice.widgetBar.js b/WidgetBar/resources/bluespice.widgetBar.js index 8e13898..065996d 100644 --- a/WidgetBar/resources/bluespice.widgetBar.js +++ b/WidgetBar/resources/bluespice.widgetBar.js @@ -50,7 +50,8 @@ * #bs-widgetbar-settings => DIV on user's user page * #mw-htmlform-WidgetBar => TABLE ROW on Special:Preferences */ -$(document).on( 'click', '#bs-widgetbar-edit, #bs-widgetbar-settings, #mw-htmlform-WidgetBar', function(e) { +//Restored old functionality +/*$(document).on( 'click', '#bs-widgetbar-edit, #bs-widgetbar-settings, #mw-htmlform-WidgetBar', function(e) { Ext.require( 'BS.WidgetBar.dialog.Edit', function() { var dlg = new BS.WidgetBar.dialog.Edit(); @@ -63,4 +64,4 @@ e.preventDefault(); return false; -}); \ No newline at end of file +});*/ \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/152227 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia857f5178ab0f7ccf36ecacf6a2e999a67e672a0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: Pwirth <wi...@hallowelt.biz> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits