Pastakhov has submitted this change and it was merged.

Change subject: add debug options
......................................................................


add debug options

debug is disabled by default and it added as options

Change-Id: Ife890f9b367869fc0f79dd5b7711fc13fcb27b97
---
M Foxway.body.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Pastakhov: Verified; Looks good to me, approved



diff --git a/Foxway.body.php b/Foxway.body.php
index 7c4244b..393f214 100644
--- a/Foxway.body.php
+++ b/Foxway.body.php
@@ -41,6 +41,6 @@
        }
 
        public static function render($input, array $args, Parser $parser, 
PPFrame $frame) {
-               return Foxway\Interpreter::run($input, true);
+               return Foxway\Interpreter::run( $input, isset($args['debug']) );
        }
 }
\ No newline at end of file

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

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

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

Reply via email to