[Fusionforge-commits] r8864 - in trunk/gforge/plugins/mediawiki: cronjobs www

Thorsten Glaser mirabilos at libremir.placard.fr.eu.org
Wed Feb 24 17:38:57 CET 2010


Author: mirabilos
Date: 2010-02-24 17:38:57 +0100 (Wed, 24 Feb 2010)
New Revision: 8864

Modified:
   trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh
   trunk/gforge/plugins/mediawiki/www/LocalSettings.php
Log:
the ability to use (and change, per project) the $wgLogo
(default is wgLogo.png in the system/site default theme;
I only provided one for the standard theme earlier tho?\226?\128?\166)


Modified: trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh
===================================================================
--- trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh	2010-02-24 16:26:11 UTC (rev 8863)
+++ trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh	2010-02-24 16:38:57 UTC (rev 8864)
@@ -36,6 +36,9 @@
 \$wgGroupPermissions['*']['createpage']    = false;
 \$wgGroupPermissions['*']['createtalk']    = false;
 
+// Override default wiki logo
+//\$wgLogo = "/themes/\$sys_theme/images/wgLogo.png";
+
 EOF
 
 	filteredprojects="$filteredprojects $project"

Modified: trunk/gforge/plugins/mediawiki/www/LocalSettings.php
===================================================================
--- trunk/gforge/plugins/mediawiki/www/LocalSettings.php	2010-02-24 16:26:11 UTC (rev 8863)
+++ trunk/gforge/plugins/mediawiki/www/LocalSettings.php	2010-02-24 16:38:57 UTC (rev 8864)
@@ -199,13 +199,14 @@
 $wgGroupPermissions['*']['createpage']    = false;
 $wgGroupPermissions['*']['createtalk']    = false;
 
+$wgLogo = "/themes/$sys_theme/images/wgLogo.png";
+
 if (file_exists ("$wikidata/LocalSettings.php")) {
         require ("$wikidata/LocalSettings.php") ;
 } else {
 	exit_error (_('Wiki not created yet, please wait for a few minutes.')) ;
 }
 
-$wgLogo = "";
 $wgFavicon = '/images/icon.png' ;
 $wgBreakFrames = false ;
 ini_set ('memory_limit', '50M') ;




More information about the Fusionforge-commits mailing list