Robert Vogel has submitted this change and it was merged.

Change subject: Fixed skin usage for anonymous users
......................................................................


Fixed skin usage for anonymous users

Flexiskin uses an internal API call in order to add specific additional
skin elements. The API was set to require read rights. This lead to a
MWException if Flexiskin was enabled and no user logged in in wikis that
do prevent read access for anonymous users. Fixed now by unsetting the
required rights.

Change-Id: I58012841c8a2797c5f4821b4f59d6cec3c977cc8
---
M Flexiskin/includes/FlexiskinApi.class.php
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  Pwirth: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/Flexiskin/includes/FlexiskinApi.class.php 
b/Flexiskin/includes/FlexiskinApi.class.php
index 5681667..e59df3a 100644
--- a/Flexiskin/includes/FlexiskinApi.class.php
+++ b/Flexiskin/includes/FlexiskinApi.class.php
@@ -399,4 +399,7 @@
                );
        }
 
+       public function isReadMode() {
+               return false;
+       }
 }

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

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

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

Reply via email to