Ljonka has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/321867

Change subject: Remove wgDefaultSkin from callback
......................................................................

Remove wgDefaultSkin from callback

otherwise LocalSettings option will be always overriden

Change-Id: Ib28bb615fa7d32275a8a10bb803d0978368fc95e
---
M includes/BlueSpiceSkinHooks.php
1 file changed, 0 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/BlueSpiceSkin 
refs/changes/67/321867/1

diff --git a/includes/BlueSpiceSkinHooks.php b/includes/BlueSpiceSkinHooks.php
index 053fd46..0dafbed 100644
--- a/includes/BlueSpiceSkinHooks.php
+++ b/includes/BlueSpiceSkinHooks.php
@@ -16,20 +16,7 @@
         * extension.json callback
         */
        public static function onRegistration() {
-               $GLOBALS['wgValidSkinNames']['bluespiceskin'] = 'BlueSpiceSkin';
 
-               $GLOBALS['wgDefaultSkin'] = 'bluespiceskin';
-               $GLOBALS['wgSkipSkins'] = array(
-                       'chick',
-                       'cologneblue',
-                       'common',
-                       'modern',
-                       'monobook',
-                       'myskin',
-                       'nostalgia',
-                       'simple',
-                       'standard'
-               );
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib28bb615fa7d32275a8a10bb803d0978368fc95e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/BlueSpiceSkin
Gerrit-Branch: master
Gerrit-Owner: Ljonka <[email protected]>

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

Reply via email to