Index: trunk/extensions/CategoryTree/CategoryTree.php |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | * namely, only providing the mode name or number. |
226 | 226 | * This loads CategoryTreeFunctions.php and calls CategoryTree::ajax() |
227 | 227 | */ |
228 | | -function efCategoryTreeAjaxWrapper( $category, $options, $enc = '' ) { |
| 228 | +function efCategoryTreeAjaxWrapper( $category, $options = array(), $enc = '' ) { |
229 | 229 | global $wgCategoryTreeHTTPCache, $wgSquidMaxage, $wgUseSquid; |
230 | 230 | |
231 | 231 | if ( is_string( $options ) ) { |
— | — | @@ -362,6 +362,9 @@ |
363 | 363 | |
364 | 364 | /** |
365 | 365 | * ArticleFromTitle hook, override category page handling |
| 366 | + * |
| 367 | + * @param $title Title |
| 368 | + * @param $article Article |
366 | 369 | */ |
367 | 370 | function efCategoryTreeArticleFromTitle( $title, &$article ) { |
368 | 371 | if ( $title->getNamespace() == NS_CATEGORY ) { |