Revert r88997: fix for bug 93 caused some additional problems.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Jun 2011 00:32:43 +0000 (00:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Jun 2011 00:32:43 +0000 (00:32 +0000)
Follow-up to r89191: disable test case for bug 93 as it currently fails (bug left open).

includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php
tests/parser/parserTests.txt

index bb60a34..48c2345 100644 (file)
@@ -205,9 +205,6 @@ class Preprocessor_DOM implements Preprocessor {
                        if ( strpos( $text, '<onlyinclude>' ) !== false && strpos( $text, '</onlyinclude>' ) !== false ) {
                                $enableOnlyinclude = true;
                        }
-               } else if ( isset( $this->parser->ot ) && $this->parser->ot['wiki'] ) {
-                       $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude', 'includeonly', '/includeonly' );
-                       $ignoredElements = array();
                } else {
                        $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude' );
                        $ignoredElements = array( 'includeonly' );
index 3078e43..c2d7d3d 100644 (file)
@@ -148,9 +148,6 @@ class Preprocessor_Hash implements Preprocessor {
                        if ( strpos( $text, '<onlyinclude>' ) !== false && strpos( $text, '</onlyinclude>' ) !== false ) {
                                $enableOnlyinclude = true;
                        }
-               } else if ( $this->parser->ot['wiki'] ) {
-                       $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude', 'includeonly', '/includeonly' );
-                       $ignoredElements = array();
                } else {
                        $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude' );
                        $ignoredElements = array( 'includeonly' );
index 94cb98b..d7d9a26 100644 (file)
@@ -3878,7 +3878,7 @@ pst
 !! test
 pre-save transform: Signature expansion in nowiki tags (bug 93)
 !! options
-pst
+pst disabled
 !! input
 Shall not expand: