From 141da40788428151b6ba1929329314681872fd31 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Mon, 28 Apr 2014 14:59:22 +0300 Subject: [PATCH] Make the link in printfooter explicitly ltr MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /** -- 2.20.1