From: Amir E. Aharoni Date: Wed, 18 Apr 2012 05:56:46 +0000 (+0300) Subject: Fixes bug 4045 by adding dirmarks. X-Git-Tag: 1.31.0-rc.0~23867^2 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=a65aba48ecb4066a4381cfa7dea7b8ecec2c082e;p=lhc%2Fweb%2Fwiklou.git Fixes bug 4045 by adding dirmarks. Adding dirmarks (rlm/lrm) to the pipe separators between parent pages "breadcrumbs" links so that they would appear in the correct order and not overlap. Change-Id: I9c72878c829005996bde7904e8b7d2fcfc9d7d17 --- diff --git a/includes/Skin.php b/includes/Skin.php index 8b10d7fdff..f40de4cb62 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -688,6 +688,7 @@ abstract class Skin extends ContextSource { * @return string */ function subPageSubtitle() { + global $wgLang; $out = $this->getOutput(); $subpages = ''; @@ -718,7 +719,7 @@ abstract class Skin extends ContextSource { $c++; if ( $c > 1 ) { - $subpages .= $this->msg( 'pipe-separator' )->escaped(); + $subpages .= $wgLang->getDirMarkEntity() . $this->msg( 'pipe-separator' )->escaped(); } else { $subpages .= '< '; }