[Fusionforge-commits] r12122 - in trunk/src/plugins/mediawiki: cronjobs packaging/dirs

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Jan 31 17:30:49 CET 2011


Author: lolando
Date: 2011-01-31 17:30:48 +0100 (Mon, 31 Jan 2011)
New Revision: 12122

Modified:
   trunk/src/plugins/mediawiki/cronjobs/dump-wikis.php
   trunk/src/plugins/mediawiki/packaging/dirs/plugin-mediawiki
Log:
Bugfixes for Mediawiki dumps

Modified: trunk/src/plugins/mediawiki/cronjobs/dump-wikis.php
===================================================================
--- trunk/src/plugins/mediawiki/cronjobs/dump-wikis.php	2011-01-31 16:30:22 UTC (rev 12121)
+++ trunk/src/plugins/mediawiki/cronjobs/dump-wikis.php	2011-01-31 16:30:48 UTC (rev 12122)
@@ -54,7 +54,7 @@
 		$tmp = tempnam(forge_get_config('data_path')."/plugins/mediawiki/dumps/", "tmp");
 		system ("$mwwrapper $project dumpBackup.php --current --quiet > $tmp") ;
 		chmod ($tmp, 0644);
-		rename ($tmp, $dumpfile);
+		rename ($tmp, $dump_file);
 	} else {
 		cron_debug("Not dumping $project (private)...");
 		if (file_exists($dump_file)) {

Modified: trunk/src/plugins/mediawiki/packaging/dirs/plugin-mediawiki
===================================================================
--- trunk/src/plugins/mediawiki/packaging/dirs/plugin-mediawiki	2011-01-31 16:30:22 UTC (rev 12121)
+++ trunk/src/plugins/mediawiki/packaging/dirs/plugin-mediawiki	2011-01-31 16:30:48 UTC (rev 12122)
@@ -8,3 +8,4 @@
 usr/share/mediawiki/skins
 usr/share/mediawiki/skins/fusionforge
 var/lib/gforge/plugins/mediawiki/wikidata
+var/lib/gforge/plugins/mediawiki/dumps




More information about the Fusionforge-commits mailing list