Index: trunk/phase3/tests/parser/parserTests.txt |
— | — | @@ -3878,7 +3878,7 @@ |
3879 | 3879 | !! test |
3880 | 3880 | pre-save transform: Signature expansion in nowiki tags (bug 93) |
3881 | 3881 | !! options |
3882 | | -pst |
| 3882 | +pst disabled |
3883 | 3883 | !! input |
3884 | 3884 | Shall not expand: |
3885 | 3885 | |
Index: trunk/phase3/includes/parser/Preprocessor_Hash.php |
— | — | @@ -148,9 +148,6 @@ |
149 | 149 | if ( strpos( $text, '<onlyinclude>' ) !== false && strpos( $text, '</onlyinclude>' ) !== false ) { |
150 | 150 | $enableOnlyinclude = true; |
151 | 151 | } |
152 | | - } else if ( $this->parser->ot['wiki'] ) { |
153 | | - $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude', 'includeonly', '/includeonly' ); |
154 | | - $ignoredElements = array(); |
155 | 152 | } else { |
156 | 153 | $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude' ); |
157 | 154 | $ignoredElements = array( 'includeonly' ); |
Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -205,9 +205,6 @@ |
206 | 206 | if ( strpos( $text, '<onlyinclude>' ) !== false && strpos( $text, '</onlyinclude>' ) !== false ) { |
207 | 207 | $enableOnlyinclude = true; |
208 | 208 | } |
209 | | - } else if ( isset( $this->parser->ot ) && $this->parser->ot['wiki'] ) { |
210 | | - $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude', 'includeonly', '/includeonly' ); |
211 | | - $ignoredElements = array(); |
212 | 209 | } else { |
213 | 210 | $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude' ); |
214 | 211 | $ignoredElements = array( 'includeonly' ); |