Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | if ( strpos( $text, '<onlyinclude>' ) !== false && strpos( $text, '</onlyinclude>' ) !== false ) { |
187 | 187 | $enableOnlyinclude = true; |
188 | 188 | } |
189 | | - } else if ( $this->parser->ot['wiki'] ) { |
| 189 | + } else if ( isset( $this->parser->ot ) && $this->parser->ot['wiki'] ) { |
190 | 190 | $ignoredTags = array( 'noinclude', '/noinclude', 'onlyinclude', '/onlyinclude', 'includeonly', '/includeonly' ); |
191 | 191 | $ignoredElements = array(); |
192 | 192 | } else { |