Adding the fix for lists in RTL wikis to more skins, and fixing the image toc.
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 8 Mar 2008 10:46:51 +0000 (10:46 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 8 Mar 2008 10:46:51 +0000 (10:46 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
skins/common/common_rtl.css
skins/modern/rtl.css
skins/monobook/rtl.css
skins/simple/rtl.css

index 679511c..1cd4933 100644 (file)
@@ -77,6 +77,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Parse MediaWiki message translations with a correct language setting on preview
 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
   case-insensitive names.
+* Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
 
 === API changes in 1.13 ===
 
index ec7a4b0..d3f8d07 100644 (file)
@@ -188,7 +188,7 @@ $wgFileStore['deleted']['hash'] = 3;         // 3-level subdirectory split
  *                      The core repository classes are LocalRepo, ForeignDBRepo, FSRepo.
  *
  *    name                             A unique name for the repository.
- *                      
+ *
  * For all core repos:
  *    url               Base public URL
  *    hashLevels        The number of directory levels for hash-based division of files
@@ -1326,7 +1326,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '120';
+$wgStyleVersion = '121';
 
 
 # Server-side caching:
index 05890db..55d956a 100644 (file)
@@ -35,3 +35,16 @@ p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons
 table.filehistory th {
        text-align: right;
 }
+
+/**
+ * Lists:
+ * The following lines don't have a visible effect on non-Gecko browsers
+ * They fix a problem ith Gecko browsers rendering lists to the right of
+ * left-floated objects in an RTL layout.
+ */
+html > body div#article ul {
+       display: table;
+}
+html > body div#article ol {
+       display: table;
+}
index eedcbd3..e286a3f 100644 (file)
@@ -140,3 +140,19 @@ table.filehistory th {
        border-right: none;
        border-left: solid 1px #bbbbbb;
 }
+
+/**
+ * Lists:
+ * The following lines don't have a visible effect on non-Gecko browsers
+ * They fix a problem ith Gecko browsers rendering lists to the right of
+ * left-floated objects in an RTL layout.
+ */
+html > body div#mw_contentholder ul {
+       display: table;
+}
+html > body div#mw_contentholder ol {
+       display: table;
+}
+html > body div#mw_contentholder ul#filetoc {
+       display: block;
+}
index 5b6889f..73bc145 100644 (file)
@@ -24,7 +24,6 @@ To test:
 */
 body {
        direction: rtl;
-/*    unicode-bidi: bidi-override;*/
        unicode-bidi: embed;
 }
 #column-content {
@@ -37,7 +36,7 @@ body {
        border-right: 1px solid #aaaaaa;
        border-left: none;
 }
-html>body .portlet {
+html > body .portlet {
        float: right;
        clear: right;
 }
@@ -234,5 +233,12 @@ table.filehistory th {
  * They fix a problem ith Gecko browsers rendering lists to the right of
  * left-floated objects in an RTL layout.
  */
-html>body.rtl #bodyContent ul { display:table; }
-html>body.rtl #bodyContent ol { display:table; }
\ No newline at end of file
+html > body div#bodyContent ul {
+       display: table;
+}
+html > body div#bodyContent ol {
+       display: table;
+}
+html > body div#bodyContent ul#filetoc {
+       display: block;
+}
index d8061da..13e7aa9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Right-to-left fixes for MonoBook.
+Right-to-left fixes for Simple.
 Places sidebar on right, tweaks various alignment issues.
 
 Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
@@ -24,7 +24,6 @@ To test:
 */
 body {
        direction: rtl;
-/*    unicode-bidi: bidi-override;*/
        unicode-bidi: embed;
 }
 #column-content {
@@ -173,3 +172,16 @@ p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons
 table.filehistory th {
        text-align: right;
 }
+
+/**
+ * Lists:
+ * The following lines don't have a visible effect on non-Gecko browsers
+ * They fix a problem ith Gecko browsers rendering lists to the right of
+ * left-floated objects in an RTL layout.
+ */
+html > body div#bodyContent ul {
+       display: table;
+}
+html > body div#bodyContent ol {
+       display: table;
+}