diff -r 947153b432ea -r 851b91febb85 includes/wikiengine/parse_mediawiki.php --- a/includes/wikiengine/parse_mediawiki.php Mon Nov 19 11:39:25 2012 -0500 +++ b/includes/wikiengine/parse_mediawiki.php Mon Nov 19 11:40:35 2012 -0500 @@ -54,11 +54,15 @@ while ( preg_match($template_regex, $text, $match) ) { $i++; + // we can go up to 5 levels of templates deep if ( $i == 5 ) break; $text = RenderMan::include_templates($text); } + //header('Content-type: text/plain'); + //die($text); + return array(); }