From 2ff74954bf954534a64a02fc9d9fb8d681e04330 Mon Sep 17 00:00:00 2001 From: Huji Date: Fri, 3 Jun 2011 16:15:07 +0000 Subject: [PATCH] (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text such as SQL queries shown in dberrortext and similiar messages in RTL environements --- RELEASE-NOTES-1.18 | 3 +++ skins/common/shared.css | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index c171865b5d..4bb8a93ea2 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -251,6 +251,9 @@ production. * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries * (bug 19408) user_properties.up_property: 32 bytes is not enough. * (bug 25262) Fix for minification of hardcoded data: URIs in CSS +* (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text + such as SQL queries shown in dberrortext and similar messages in RTL + environments === API changes in 1.18 === * (bug 26339) Throw warning when truncating an overlarge API result. diff --git a/skins/common/shared.css b/skins/common/shared.css index b08f29b3c3..ecd68a3372 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -715,3 +715,16 @@ th.headerSortDown { /* @noflip */ direction: ltr; } + +/* LTR content in RTL layout, e.g. SQL queries inside DB error messages */ +div.ltr { + /* @noflip */ + direction: ltr; +} + +div.ltr { + /* @noflip */ + direction: ltr; + unicode-bidi: embed;RE +} + -- 2.20.1