Revision: 51882
Author:   siebrand
Date:     2009-06-15 11:27:48 +0000 (Mon, 15 Jun 2009)

Log Message:
-----------
(bug 19202) Follow-up to r51819: fix incorrect conversion. Put wfMsgForContent 
back.

Modified Paths:
--------------
    trunk/phase3/includes/Skin.php

Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php      2009-06-15 11:24:46 UTC (rev 51881)
+++ trunk/phase3/includes/Skin.php      2009-06-15 11:27:48 UTC (rev 51882)
@@ -1562,7 +1562,7 @@
                        // 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' ) )



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to