follow up r60763
[lhc/web/wiklou.git] / maintenance / parserTests.inc
index b59e3f5..bf4f00f 100644 (file)
@@ -493,6 +493,10 @@ class ParserTest {
                        $result = $this->tidy($result);
                }
 
+               if ( isset( $opts['showtitle'] ) ) {
+                       $out = $parser->mTitle . "\n$out";
+        }
+
                $this->teardownGlobals();
 
                if( $result === $out && ( $noxml === true || $this->wellFormed( $out ) ) ) {