Index: trunk/extensions/SubPageList/SubPageList.class.php |
— | — | @@ -154,7 +154,7 @@ |
155 | 155 | $list = "''" . wfMsg( 'spl-nosubpages', '[[' . $title->getFullText() . ']]' ) . "''\n"; |
156 | 156 | } |
157 | 157 | |
158 | | - return '<div class="subpagelist">' . $this->parse( $list ) . '</div>'; |
| 158 | + return '<div class="subpagelist">' . $this->parseWikitext( $list ) . '</div>'; |
159 | 159 | } |
160 | 160 | |
161 | 161 | /** |
— | — | @@ -332,19 +332,6 @@ |
333 | 333 | } |
334 | 334 | |
335 | 335 | /** |
336 | | - * Wrapper function parse, call the other functions. |
337 | | - * |
338 | | - * @param string $text the content |
339 | | - * |
340 | | - * @return string the parsed output |
341 | | - */ |
342 | | - protected function parse( $text ) { |
343 | | - $options = $this->parser->mOptions; |
344 | | - $output = $this->parser->parse( $text, $this->parser->mTitle, $options, true, false ); |
345 | | - return $output->getText(); |
346 | | - } |
347 | | - |
348 | | - /** |
349 | 336 | * Returns the parser function otpions. |
350 | 337 | * @see ParserHook::getFunctionOptions |
351 | 338 | * |
— | — | @@ -359,4 +346,4 @@ |
360 | 347 | ); |
361 | 348 | } |
362 | 349 | |
363 | | -} |
\ No newline at end of file |
| 350 | +} |