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
// 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();
}
/**