(bug 19202) Follow-up to r51819: fix incorrect conversion. Put wfMsgForContent back.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 15 Jun 2009 11:27:48 +0000 (11:27 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 15 Jun 2009 11:27:48 +0000 (11:27 +0000)
includes/Skin.php

index 866493f..b2ccb66 100644 (file)
@@ -1562,7 +1562,7 @@ END;
                        // Otherwise, we display the link for the user, described in their
                        // language (which may or may not be the same as the default language),
                        // but we make the link target be the one site-wide page.
-                       $title = Title::newFromText( $page );
+                       $title = Title::newFromText( wfMsgForContent( $page ) );
                        return $this->linkKnown(
                                $title,
                                wfMsgExt( $desc, array( 'parsemag', 'escapenoentities' ) )