Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -552,8 +552,9 @@ |
553 | 553 | } else { |
554 | 554 | // first let's check if a message has given us a converted name |
555 | 555 | $nsConvKey = 'conversion-ns' . $index; |
556 | | - $text = wfMsgForContentNoTrans( $nsConvKey ); |
557 | | - if ( $text == '<' . htmlspecialchars( $nsConvKey ) . '>' ) { |
| 556 | + if ( !wfEmptyMsg( $nsConvKey ) ) { |
| 557 | + $text = wfMsgForContentNoTrans( $nsConvKey ); |
| 558 | + } else { |
558 | 559 | // the message does not exist, try retrieve it from the current |
559 | 560 | // variant's namespace names. |
560 | 561 | $langObj = $this->mLangObj->factory( $variant ); |