Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -379,7 +379,7 @@ |
380 | 380 | # The title must be in the category namespace |
381 | 381 | # Ignore a leading Category: if there is one |
382 | 382 | $t = Title::newFromText( $title, NS_CATEGORY ); |
383 | | - if ( $t && $t->getNamespace() != NS_CATEGORY ) { |
| 383 | + if ( $t && ( $t->getNamespace() != NS_CATEGORY || $t->getInterWiki() != '' ) ) { |
384 | 384 | $title = "Category:$title"; |
385 | 385 | $t = Title::newFromText( $title ); |
386 | 386 | } |