This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.1 has been updated
       via  28314fad6a70ada89c552387b7debc06fbcd7d6d (commit)
      from  7a58ec4bb58a2cadb2d88537bab76a3e859ba15c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=28314fad6a70ada89c552387b7debc06fbcd7d6d

commit 28314fad6a70ada89c552387b7debc06fbcd7d6d
Author: Franck Villaume <[email protected]>
Date:   Sun Mar 18 16:02:54 2018 +0100

    mediawiki: new skin mechanism 1.25 and above. include MonoBook to get css 
in 1.24 and lower

diff --git a/src/plugins/mediawiki/www/LocalSettings.php 
b/src/plugins/mediawiki/www/LocalSettings.php
index 64db920..544ad6c 100644
--- a/src/plugins/mediawiki/www/LocalSettings.php
+++ b/src/plugins/mediawiki/www/LocalSettings.php
@@ -1,6 +1,7 @@
 <?php
 /**
  * Copyright (C) 2010 Roland Mas, Olaf Lenz
+ * Copyright 2018, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge.
  *
@@ -139,10 +140,11 @@ if 
(!isset($fusionforge_plugin_mediawiki_LocalSettings_included)) {
 
        global $wgVersion;
        $wgVersionArr = explode('.', $wgVersion);
-       if ($wgVersionArr[0] == 1 && $wgVersionArr[1] >= 24) {
+       if ($wgVersionArr[0] == 1 && $wgVersionArr[1] >= 25) {
                $wgDefaultSkin = 'monobookfusionforge';
                wfLoadSkin('MonoBookFusionForge');
        } else {
+               require_once "$IP/skins/MonoBook/MonoBook.php";
                $wgDefaultSkin = 'fusionforge';
        }
        // disable other skins. It breaks FusionForge displays.

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/mediawiki/www/LocalSettings.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to