(bug 28349) CategoryTree: Number of pages in a category is displayed incorrectly after an LTR char in an RTL wiki -> add a direction mark

This commit is contained in:
Robin Pepermans 2011-06-24 19:53:15 +00:00
parent 242dd9c55e
commit 47dcfb861f
Notes: Robin Pepermans 2011-06-24 19:53:15 +00:00

View file

@ -702,8 +702,8 @@ class CategoryTree {
'title' => wfMsgExt( 'categorytree-member-counts', 'parsemag', $subcatCount, $pages , $fileCount, $pageCount, $count )
);
$s .= ' ';
global $wgLang;
global $wgContLang, $wgLang;
$s .= $wgContLang->getDirMark() . ' ';
$s .= Xml::tags( 'span', $attr,
wfMsgExt( 'categorytree-member-num',
array( 'parsemag', 'escapenoentities' ),