Last modified: 2014-01-04 19:43:40 UTC
The prop languageshtml returns the html for the otherlanguages section. But this section is in the most skin a html list and not a pipe seperator list. It is possible to have a html list in that skins where it is a html list? (MonoBookTemplate (includes Skins MonoBook, Modern, Chick, Simple, MySkin) and VectorTemplate (includes Vector skin)) Thanks.
CC'd Priyanka Added in r77896 + private function categoriesHtml( $categories ) { + global $wgOut, $wgUser; + $wgOut->addCategoryLinks( $categories ); + $sk = $wgUser->getSkin(); + return $sk->getCategories(); + } Surely that does what you're asking for...? Unless there's some extra skin parsing somewhere along the way
It is the following (languagesHtml, not categoriesHtml): + private function languagesHtml( $languages ) { + global $wgOut, $wgUser; + $wgOut->setLanguageLinks( $languages ); + $sk = $wgUser->getSkin(); + return $sk->otherLanguages(); + } The function is not right for MonoBookTemplate and VectorTemplate, because there it is done at another place, not by overriding otherLanguages.
languageshtml was deprecated with Gerrit change #96364, so no need to fix this anymore.