Tr4nt0r has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191588
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions
refs/changes/88/191588/1
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: newchange
Gerrit-Change-Id: I5dc79fe52d424e28ba968eadec2340f3b4773c52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Tr4nt0r <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits