The direction mark is no longer needed when bug 6100 is fixed, but this fixes it for the meantime.
$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() {