YOU CAN EDIT THIS PAGE! Just click any blue "Edit" link and start writing!

Tech:Move table of contents to right side on Hebrew version

From Wikitravel Shared
Revision as of 15:57, 5 December 2007 by Orel zion (talk | contribs) (Please)
Jump to: navigation, search

In hebrew we write from right to left. Therefor the contact table should be placed on the right side, not the left. So if you can do something about it, this will be great. Thanks. Orel zion 06:19, 17 September 2007 (EDT)

I'm sorry Orel, I've tried to help you by emailing Kevin, but still no response. I know it's important to you, please try to be patient and hopefully someone will look into this soon. I hope things are going well for you on :he – cacahuate talk 02:08, 6 November 2007 (EST)
Pretty much, we've just got our 50th article, and I hope for good. Orel zion 08:39, 6 November 2007 (EST)
In general it would help to get important problems on Top_bugs. I'm not sure what the "contact table" is. Can you give me a more detailed description of the problem and specific page that I can use as an example? Unfortunately I don't read Hebrew, so the more help you can give me in terms of what I'm looking at, the easier it will be for me. Kevin Unsigned comment by KevinSours (talkcontribs) .
I'm pretty sure he means the table of contents... they want it on the right side of the page, since they read from right to left. See he:User talk:Zvika for an example of what it looks like now. They seemed to have been trying something here with what looks to be a MediaWiki page named Tocright. But whatever that is doesn't seem to have done the trick. – cacahuate talk 23:20, 12 November 2007 (EST)
I'm not sure, but I guess this problem relates to style attribute below.
Example; HTML source of Tech:Error displaying SVG images.
<div id="p-toc" class="portlet" style="float: left; margin-right: 1em">
<div class="pBody">
<ul class='xoxo wt-toc'>
<li class='wt-toc'><a ...
I am wondering whether "float: left;" for the div tag (id="p-toc") is necessary or not. -- Tatata 01:07, 13 November 2007 (EST)
Probably worth a try... Tatata, is this something you can play with, or only Kevin? – cacahuate talk 20:32, 13 November 2007 (EST)
Though something I can do is a little bit... I tried on my local pc. Shared and language versions read from left to right need "float: left;" to position contents. Hebrew version needs "float: right;" to position contents. And some adjustments of the TOC itself are needed for Hebrew version. So I guess, a modification of MediaWiki program is needed for this problem to output "float: right;" for Hebrew version and output "float: left;" for others, or replace "float: left;" with "float: right;" by using JavaScript when Hebrew version page is loaded to browser. -- Tatata 23:05, 13 November 2007 (EST)
Nice detective work... does that help Kevin? – cacahuate talk 02:00, 14 November 2007 (EST)
Considerably. Its much more than I expected. Or was really required. But I appreciate it. I took a look at it a bit today. The float:left is hard coded in the Wikitravel specific skin, which explains why the left/right tag in the mediawiki (not sure what that markup is called actually) isn't working right. However, I think we do need the float, since that should be causing the text to wrap nicely around the TOC. I need to find some time to play with it and look a little more into how the TOC rendering works on the back end. 02:39, 14 November 2007 (EST)

So guys, what's happening? Are we going to do something? (Pleaeeeeeeeeeeeeeeeeese) Orel zion 10:53, 5 December 2007 (EST)