Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -409,6 +409,7 @@ |
410 | 410 | $sk = $wgUser->getSkin(); |
411 | 411 | foreach ( $categories as $category => $type ) { |
412 | 412 | $title = Title::makeTitleSafe( NS_CATEGORY, $category ); |
| 413 | + $wgContLang->findVariantLink( $category, $title ); |
413 | 414 | $text = $wgContLang->convertHtml( $title->getText() ); |
414 | 415 | $this->mCategoryLinks[$type][] = $sk->makeLinkObj( $title, $text ); |
415 | 416 | } |
Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | } |
201 | 201 | |
202 | 202 | /** |
203 | | - * caption convert, base on preg_replace_callback |
| 203 | + * caption convert, base on preg_replace |
204 | 204 | * |
205 | 205 | * to convert text in "title" or "alt", like '<img alt="text" ... ' |
206 | 206 | * or '<span title="text" ... ' |