From: Amir E. Aharoni Date: Mon, 28 Apr 2014 11:59:22 +0000 (+0300) Subject: Make the link in printfooter explicitly ltr X-Git-Tag: 1.31.0-rc.0~15969^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=141da40788428151b6ba1929329314681872fd31;p=lhc%2Fweb%2Fwiklou.git Make the link in printfooter explicitly ltr Without this, in RTL wikis the "http" appears in the middle of the URL. To test, set $wgLanguageCode = "he"; create an article called "ספר", view it in print mode and note the URL at the bottom. Change-Id: I1c0194c5cbd186e953eb0fc49184caa66c436ad1 --- diff --git a/includes/Skin.php b/includes/Skin.php index d3fa60773b..8300da784a 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -683,7 +683,7 @@ abstract class Skin extends ContextSource { // oldid not available for non existing pages $url = htmlspecialchars( wfExpandIRI( $this->getTitle()->getCanonicalURL() ) ); } - return $this->msg( 'retrievedfrom', '' . $url . '' )->text(); + return $this->msg( 'retrievedfrom', '' . $url . '' )->text(); } /**