Index: trunk/extensions/SubPageList/SubPageList.class.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | * @return array |
119 | 119 | */ |
120 | 120 | protected function getDefaultParameters( $type ) { |
121 | | - return array( 'format', 'pathstyle', 'sortby', 'sort' ); |
| 121 | + return array( 'page', 'format', 'pathstyle', 'sortby', 'sort' ); |
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
— | — | @@ -331,12 +331,8 @@ |
332 | 332 | * @return string the parsed output |
333 | 333 | */ |
334 | 334 | protected function parse( $text ) { |
335 | | - wfProfileIn( __METHOD__ ); |
336 | | - |
337 | 335 | $options = $this->parser->mOptions; |
338 | 336 | $output = $this->parser->parse( $text, $this->parser->mTitle, $options, true, false ); |
339 | | - wfProfileOut( __METHOD__ ); |
340 | | - |
341 | 337 | return $output->getText(); |
342 | 338 | } |
343 | 339 | |