Robert Vogel has submitted this change and it was merged.

Change subject: Notifications Badge not shown on Vector Skin
......................................................................


Notifications Badge not shown on Vector Skin

Fixed bug where Notifications Badge is moved from personal_urls
to bs_personal_info Navigation on non-BlueSpice Skins

Change-Id: I5dc79fe52d424e28ba968eadec2340f3b4773c52
---
M Notifications/Notifications.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved
  Tweichart: Checked; Looks good to me, but someone else must approve



diff --git a/Notifications/Notifications.class.php 
b/Notifications/Notifications.class.php
index e9fcdd9..4b82a4b 100644
--- a/Notifications/Notifications.class.php
+++ b/Notifications/Notifications.class.php
@@ -480,7 +480,7 @@
         * @return boolean Always true to keep hook running
         */
        public function onSkinTemplateOutputPageBeforeExec(&$sktemplate, &$tpl){
-               if (!isset($tpl->data['personal_urls']['notifications'])) {
+               if (!isset($tpl->data['personal_urls']['notifications']) || 
$tpl instanceof BsBaseTemplate != true) {
                        return true;
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/191588
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5dc79fe52d424e28ba968eadec2340f3b4773c52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Tr4nt0r <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: Tweichart <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to