jenkins-bot has submitted this change and it was merged.

Change subject: Allow objects in foxway as function     (version 0.5.1)
......................................................................


Allow objects in foxway as function     (version 0.5.1)

Change-Id: Iaf35d2492c38a590cf35b96d71f1b86acf7f283f
---
M Foxway.body.php
M Foxway.php
2 files changed, 1 insertion(+), 6 deletions(-)

Approvals:
  Pastakhov: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Foxway.body.php b/Foxway.body.php
index 5bb13a9..2ed4c59 100644
--- a/Foxway.body.php
+++ b/Foxway.body.php
@@ -44,11 +44,6 @@
                                self::getScope($frame)
                                );
 
-               foreach ($result as &$value) {
-                       if( $value instanceof Foxway\iRawOutput ) {
-                               $value = '(object)';
-                       }
-               }
                $return = implode($result);
 
                self::$time += microtime(true) - self::$startTime;
diff --git a/Foxway.php b/Foxway.php
index bf013fb..aa3f28e 100644
--- a/Foxway.php
+++ b/Foxway.php
@@ -15,7 +15,7 @@
        die( 'This file is an extension to MediaWiki and thus not a valid entry 
point.' );
 }
 
-define( 'Foxway_VERSION' , '0.5.0' );
+define( 'Foxway_VERSION' , '0.5.1' );
 
 // Register this extension on Special:Version
 $wgExtensionCredits['parserhook'][] = array(

-- 
To view, visit https://gerrit.wikimedia.org/r/71587
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf35d2492c38a590cf35b96d71f1b86acf7f283f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Foxway
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <[email protected]>
Gerrit-Reviewer: Pastakhov <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to