Reply
Thread Tools
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#1
I do not know if this is appropriate thread.
But here goes nothing: I think one reason why reading wiki is so confusing is that I can see numbering in table of contents but it´s missing from actual content on default css-layout.

I just modified my wiki layout to show numbers also in content headers, but after a while i tought that it´s not right thing to do because most of the users will use default so all editors should also use default layout.

btw.
http://wiki.maemo.org/maemo.org_wiki:About .edit (seems to fixed now)

...edit
Now i´m getting mad. Default layout doesn't even support tables. How i suppose to do content that is neatly categorised and user friendly. Whose decision was to cripple even that little styling what you can do with mediawiki? Default layout looks like windows notepad.exe output. Maybe i should start using Acid draw and refresh my ascii drawing skillzz.

Last edited by slender; 2010-02-11 at 13:38.
 

The Following User Says Thank You to slender For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2
Originally Posted by slender View Post
Now i´m getting mad. Default layout doesn't even support tables. How i suppose to do content that is neatly categorised and user friendly. Whose decision was to cripple even that little styling what you can do with mediawiki? Default layout looks like windows notepad.exe output....

Not sure exactly what you mean, but there are tables throughout the maemo.org wiki, see the FOSDEM 2010 page for an example.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#3
Originally Posted by qole View Post
Not sure exactly what you mean, but there are tables throughout the maemo.org wiki, see the FOSDEM 2010 page for an example.
Ok,
Go to mediawiki formatting help page and copy paste different kinds of tables from there and test:
http://www.mediawiki.org/wiki/Help:Tables

Also for fun you can test this page's markups:
http://www.mediawiki.org/wiki/Help:Images

And please do not use your own wiki template (logged in). Only default.

It feels that just some of mediawikis default markups work. I don't know what's going on but it's pretty frustraiting. And i´m not going to waste my time by copy pasting already working wiki markup from maemo.org wiki. If it says it uses mediawiki then I use mediawiki markup.
 

The Following 2 Users Say Thank You to slender For This Useful Post:
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#4
I have to agree with slender-- creating and managing tables on our wiki is a pain for design-oriented people.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 

The Following 3 Users Say Thank You to Texrat For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
Yes, I noticed even on the example page I gave, there needs to be an extra magic bit added after the {| opening of the table, you need at least class="wikitable" or class="wikitable sortable" (to make it sortable). Without that, tables do not show up at all, but when that magic class statement is added, suddenly all of the table markup just works.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#6
The posts above were split out from another thread to give this issue greater visibility.
 

The Following 3 Users Say Thank You to sjgadsby For This Useful Post:
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#7
Topic is nice, but it looks like there is quite a lot different things that do not work. For example already linked guide to image embedding markup with frame/right etc. markup doesn't work :|
 
Posts: 263 | Thanked: 679 times | Joined on Apr 2008 @ Lyon, France
#8
Hi all,

This is a styling issue, rather than a markup issue.

The table is there in all its
Code:
<table><tbody>...</tbody></table>
glory, it's just not getting prettied up.

I've been documenting (slowly) the wiki make-up (and I just got access to wiki.maemo.org with a shell account, so I can see even more what's happening) in the wiki at this page. You can find the link to the maemo2midgard repository on that page too: https://garage.maemo.org/plugins/scm...=maemo2midgard

The culprit is this: http://static.maemo.org/style_maemo2009/css/reset.css

Code:
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
The wiki table style is set here: http://wiki.maemo.org/index.php?titl...&smaxage=18000

Code:
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
That CSS file is, by the way, available directly in the wiki at http://wiki.maemo.org/MediaWiki:Common.css - and editable by anyone with admin rights, I believe.


Now, I'm only guessing, but perhaps in the normal MediaWiki style there is something which automatically sets the wikitable/prettytable attribute to tables in wiki mark-up, and here that's not happening. There are a number of other wiki related issues I need to figure out, and I will keep an eye out for this too while I'm at it.

Hopefully, though, if I don't get to it straight away the fact that I'm not the only one who knows where to find everything means that others will be able to reproduce & perhaps fix the issues themselves?

Thanks,
Dave.
 

The Following 5 Users Say Thank You to dneary For This Useful Post:
Reply

Tags
formatting, maemo.org, mediawiki, problem, table, wiki


 
Forum Jump


All times are GMT. The time now is 16:28.