Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -373,8 +373,7 @@ |
374 | 374 | private function categoriesHtml( $categories ) { |
375 | 375 | global $wgOut, $wgUser; |
376 | 376 | $wgOut->addCategoryLinks( $categories ); |
377 | | - $sk = $wgUser->getSkin(); |
378 | | - return $sk->getCategories(); |
| 377 | + return $wgUser->getSkin()->getCategories( $wgOut ); |
379 | 378 | } |
380 | 379 | |
381 | 380 | /** |