Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/130059

Change subject: Make the link in printfooter explicitly ltr
......................................................................

Make the link in printfooter explicitly ltr

Without this, in RTL wikis the "http" appears
in the middle of the URL.

Change-Id: I1c0194c5cbd186e953eb0fc49184caa66c436ad1
---
M includes/Skin.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/59/130059/1

diff --git a/includes/Skin.php b/includes/Skin.php
index d3fa607..8300da7 100644
--- a/includes/Skin.php
+++ b/includes/Skin.php
@@ -683,7 +683,7 @@
                        // oldid not available for non existing pages
                        $url = htmlspecialchars( wfExpandIRI( 
$this->getTitle()->getCanonicalURL() ) );
                }
-               return $this->msg( 'retrievedfrom', '<a href="' . $url . '">' . 
$url . '</a>' )->text();
+               return $this->msg( 'retrievedfrom', '<a dir="ltr" href="' . 
$url . '">' . $url . '</a>' )->text();
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/130059
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c0194c5cbd186e953eb0fc49184caa66c436ad1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il>

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

Reply via email to