r85747 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85746‎ | r85747 | r85748 >
Date:06:46, 10 April 2011
Author:aaron
Status:ok
Tags:
Comment:
Quick fix to categoriesHtml() given new skin changes
Modified paths:
  • /trunk/phase3/includes/api/ApiParse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiParse.php
@@ -373,8 +373,7 @@
374374 private function categoriesHtml( $categories ) {
375375 global $wgOut, $wgUser;
376376 $wgOut->addCategoryLinks( $categories );
377 - $sk = $wgUser->getSkin();
378 - return $sk->getCategories();
 377+ return $wgUser->getSkin()->getCategories( $wgOut );
379378 }
380379
381380 /**

Status & tagging log