r90730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90729‎ | r90730 | r90731 >
Date:19:53, 24 June 2011
Author:robin
Status:resolved
Tags:
Comment:
(bug 28349) CategoryTree: Number of pages in a category is displayed incorrectly after an LTR char in an RTL wiki -> add a direction mark
Modified paths:
  • /trunk/extensions/CategoryTree/CategoryTreeFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php
@@ -702,8 +702,8 @@
703703 'title' => wfMsgExt( 'categorytree-member-counts', 'parsemag', $subcatCount, $pages , $fileCount, $pageCount, $count )
704704 );
705705
706 - $s .= ' ';
707 - global $wgLang;
 706+ global $wgContLang, $wgLang;
 707+ $s .= $wgContLang->getDirMark() . ' ';
708708 $s .= Xml::tags( 'span', $attr,
709709 wfMsgExt( 'categorytree-member-num',
710710 array( 'parsemag', 'escapenoentities' ),

Follow-up revisions

RevisionCommit summaryAuthorDate
r90744Follow-up r90730: always align CategoryTreeSection to the content language di...robin00:09, 25 June 2011
r91315* Add release notes for my recent commits (bug 6100 and others like bugs 2803...robin22:50, 1 July 2011

Status & tagging log