Do not special-case ULS and "Not logged in" in RTL in personal bar

Follow-up to 5d0a07bf9d.

Bug: T48947
Bug: T177312
Change-Id: I65c0961d19885c262fdaebf4ee199e1d1e6d5fe6
This commit is contained in:
Bartosz Dziewoński 2017-10-04 18:58:10 +02:00
parent 8db5779682
commit b677192582
1 changed files with 2 additions and 10 deletions

View File

@ -438,19 +438,11 @@ class VectorTemplate extends BaseTemplate {
unset( $personalTools[ 'uls' ] );
}
if ( !$this->data[ 'rtl' ] ) {
echo $langSelector;
echo $notLoggedIn;
}
echo $langSelector;
echo $notLoggedIn;
foreach ( $personalTools as $key => $item ) {
echo $this->makeListItem( $key, $item );
}
if ( $this->data[ 'rtl' ] ) {
echo $notLoggedIn;
echo $langSelector;
}
?>
</ul>
</div>