Simetrical wrote:
On Feb 8, 2008 12:20 PM, huji@svn.wikimedia.org wrote:
+/**
- Lists (fixing for RTL display_
- */
+body.rtl #body-content ul { display:table; } +body.rtl #body-content ol { display:table; }
Could you expand on the reason for this a little? It seems pretty odd. There seems to be no element with id="body-content" in any skin, or at least not on a typical page view, and I don't understand why you would want to try setting lists to display as tables. That should do all sorts of weird (if perhaps subtle) things, per the standard.
I guess it should be #bodyContent.
Setting "display: table" may seem odd, but it works and fixes Firefox bug that lists in RTL display with some floating elements on their left are outdented, beyond the page borders (see https://bugzilla.mozilla.org/show_bug.cgi?id=262195 ). This fix doesn't have unexpected affects on unordered lists. It had some affects on ordered lists in some older versions of Firefox, but they don't seem to occur anymore in newer versions. This is the known fix for the problem in the CSS files of RTL wikis (hewiki, arwiki and fawiki all set it this way).
I think the list of pages in a category should not have "display: table" set, and it should definitely be disabled for the filetoc in image files, which is defined using ul.
Furthermore, since this bug is fixed in Firefox 3.0, I'm not sure fixing this in the MediaWiki level is currently necessary. RTL wikis can fix this in their CSS files until it is fixed in the browser level, and some of them already do this.