Index: trunk/phase3/includes/Skin.php |
— | — | @@ -525,6 +525,10 @@ |
526 | 526 | function getCategoryLinks( OutputPage $out=null ) { |
527 | 527 | global $wgUseCategoryBrowser, $wgContLang; |
528 | 528 | |
| 529 | + if( $out === null ){ |
| 530 | + $out = $this->getContext()->output; |
| 531 | + } |
| 532 | + |
529 | 533 | if ( count( $out->mCategoryLinks ) == 0 ) { |
530 | 534 | return ''; |
531 | 535 | } |