http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90734

Revision: 90734
Author:   robin
Date:     2011-06-24 20:25:55 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
(bug 12406) Pages with names in RTL scripts are not listed correctly in 
Special:Whatlinkshere -> add a direction mark

The direction mark is no longer needed when bug 6100 is fixed, but this fixes 
it for the meantime.

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialWhatlinkshere.php

Modified: trunk/phase3/includes/specials/SpecialWhatlinkshere.php
===================================================================
--- trunk/phase3/includes/specials/SpecialWhatlinkshere.php     2011-06-24 
20:25:35 UTC (rev 90733)
+++ trunk/phase3/includes/specials/SpecialWhatlinkshere.php     2011-06-24 
20:25:55 UTC (rev 90734)
@@ -310,9 +310,10 @@
                $wlhLink = $this->wlhLink( $nt, 
$msgcache['whatlinkshere-links'] );
                $wlh = Xml::wrapClass( "($wlhLink)", 'mw-whatlinkshere-tools' );
 
+               $dirmark = wfUILang()->getDirMark();
                return $notClose ?
-                       Xml::openElement( 'li' ) . "$link $propsText $wlh\n" :
-                       Xml::tags( 'li', null, "$link $propsText $wlh" ) . "\n";
+                       Xml::openElement( 'li' ) . "$link $propsText $dirmark 
$wlh\n" :
+                       Xml::tags( 'li', null, "$link $propsText $dirmark $wlh" 
) . "\n";
        }
 
        protected function listEnd() {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to