[Fusionforge-commits] FusionForge branch Branch_5_1 updated. 149601837c492dc59c8e40673f233e86e809c8b5

Thorsten Glaser mirabilos at fusionforge.org
Thu Nov 27 15:21:36 CET 2014


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, Branch_5_1 has been updated
       via  149601837c492dc59c8e40673f233e86e809c8b5 (commit)
      from  ba00b3bc5e5fb54ac8923bc1760418ff82481a50 (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 -----------------------------------------------------------------
commit 149601837c492dc59c8e40673f233e86e809c8b5
Author: Thorsten Glaser <t.glaser at tarent.de>
Date:   Thu Nov 27 15:20:51 2014 +0100

    call MW’s update.php on freshly created Wikis
    
    this appears to be necessary for MW extensions to create their own
    tables, which is not done automatically (huh?); spotted by Beuc

diff --git a/src/plugins/mediawiki/cronjobs/create-wikis.php b/src/plugins/mediawiki/cronjobs/create-wikis.php
index 72f9463..ca80e72 100755
--- a/src/plugins/mediawiki/cronjobs/create-wikis.php
+++ b/src/plugins/mediawiki/cronjobs/create-wikis.php
@@ -130,6 +130,8 @@ while ( $row = db_fetch_array($project_res) ) {
 
 		$mwwrapper = forge_get_config('source_path')."/plugins/mediawiki/bin/mw-wrapper.php" ;
 		$dumpfile = forge_get_config('config_path')."/mediawiki/initial-content.xml" ;
+
+		system ("$mwwrapper $project update.php --quick") ;
 		
 		if (file_exists ($dumpfile)) {
 			system ("$mwwrapper $project importDump.php $dumpfile") ;
@@ -143,5 +145,3 @@ while ( $row = db_fetch_array($project_res) ) {
   // mode: php
   // c-file-style: "bsd"
   // End:
-
-?>

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

Summary of changes:
 src/plugins/mediawiki/cronjobs/create-wikis.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list