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, master has been updated
       via  c2198d89bdcd550bd93fe7ab95a90b1c216b836e (commit)
      from  e0957d3211fae4484b53b5328c37ac7a34dacde5 (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=c2198d89bdcd550bd93fe7ab95a90b1c216b836e

commit c2198d89bdcd550bd93fe7ab95a90b1c216b836e
Author: Franck Villaume <[email protected]>
Date:   Wed Jun 14 14:12:54 2017 +0000

    adjust API url

diff --git a/src/plugins/mediawiki/common/mediawikiPlugin.class.php 
b/src/plugins/mediawiki/common/mediawikiPlugin.class.php
index 7deaae9..27552ef 100644
--- a/src/plugins/mediawiki/common/mediawikiPlugin.class.php
+++ b/src/plugins/mediawiki/common/mediawikiPlugin.class.php
@@ -377,8 +377,9 @@ _('This plugin allows each project to embed Mediawiki under 
a tab.');
                                $script_url = 
$protocol.forge_get_config('web_host').'/plugins/'.$this->name.'/wiki/'.$project->getUnixName().'/api.php'
                                                        .'?action=query'
                                                        .'&list=recentchanges'
-                                                       
.'&rcstart='.$params['begin']
-                                                       
.'&rcend='.$params['end'];
+                                                       .'&format=json'
+                                                       
.'&rcstart='.date('Y-m-d\TH:i:s\Z,$params['end'])
+                                                       
.'&rcend='.date('Y-m-d\TH:i:s\Z,$params['begin']);
                                $filename = tempnam('/tmp', 'mediawikilog');
                                $f = fopen($filename, 'w');
                                $ch = curl_init();

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

Summary of changes:
 src/plugins/mediawiki/common/mediawikiPlugin.class.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to