Disable debug statements which make the debug log totally unreadable.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 9 May 2008 10:07:03 +0000 (10:07 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 9 May 2008 10:07:03 +0000 (10:07 +0000)
includes/Preprocessor_Hash.php

index 6319515..de3b858 100644 (file)
@@ -1357,11 +1357,11 @@ class PPNode_Hash_Tree implements PPNode {
         * Split a <template> or <tplarg> node
         */
        function splitTemplate() {
-               wfDebug( 'Template: ' . var_export( $this, true ) );
+               // wfDebug( 'Template: ' . var_export( $this, true ) );
                $parts = array();
                $bits = array( 'lineStart' => '' );
                for ( $child = $this->firstChild; $child; $child = $child->nextSibling ) {
-                       wfDebug( 'Child: ' . var_export( $child, true ) );
+                       // wfDebug( 'Child: ' . var_export( $child, true ) );
                        if ( !isset( $child->name ) ) {
                                continue;
                        }