(Moved from wikien-l)
Toby Bartels wrote:
Everybody interested in this should see [[meta:Wiki markup tables]]. This hasn't been worked on for a while, and fresh ideas would be good.
I don't have any fresh ideas on that one, so I went ahead and (surprise!) implemented my table markup at the test wiki:
http://test.wikipedia.org/w/magnus/wiki.phtml?title=Wiki_table_test
(don't go to the test wiki itself, only use the above link)
This early version has no error checking (matching <table>s etc.), but it already handles HTML tags (if necessary), CSS definitions, and nested tables.
Check it out!
Magnus
Magnus Manske wrote:
(Moved from wikien-l)
Toby Bartels wrote:
Everybody interested in this should see [[meta:Wiki markup tables]]. This hasn't been worked on for a while, and fresh ideas would be good.
I don't have any fresh ideas on that one, so I went ahead and (surprise!) implemented my table markup at the test wiki:
http://test.wikipedia.org/w/magnus/wiki.phtml?title=Wiki_table_test
(don't go to the test wiki itself, only use the above link)
This early version has no error checking (matching <table>s etc.), but it already handles HTML tags (if necessary), CSS definitions, and nested tables.
Nice!
I was about to say we shouldn't need to use a table to hold an image -- a simple DIV with a paragraphs for the image and caption will be fine. but then I remembered the problem with the width of the floated DIV -- it has to be specified, otherwise it can break. The CSS float model can REALLY be a pain in the a*** sometimes :(
Last night I did some digging into installing whiteboard capability for WP and was pleased to find it has just been implemented -- See http://meta.wikipedia.org/wiki/SVG_whiteboard for links and discussion. The below text is from a dude named Danny Ayers--I inquired of him because of his apparent experience dealing with a wiki implementation of an SVG whiteboard and various similar SVG related issues. We dont even have true SVG viewing capability yet though...
As if there wasnt enough on the collective plate already, -S- --- Hi Stevertigo, I just got your comment on my blog re. SVG Whiteboard. I'll be happy to help if I can.
You might also be interested in is what I've got in mind for the Wiki code I'm working on. I plan to generate RDF metadata from all pages - most of this will be from the RSS 1.0 vocabulary, but I'll also have to create some custom terms (like "WikiWord"). Basically provide machine-readable data about the knowledge contained in the Wiki. This would (IMHO) be a wonderful extension for the Wikipedia, for example, where appropriate entries in the Wikipedia could be automatically cross-referenced with WordNet and dmoz entries. Putting it on the Semantic Web is a nice visionary thing too.
As with the WikiWhiteboard, the implementation would be different (I'm primarily using Java, though I think Eugene's version is in Perl), but the RDF-specific parts would be the same in the same way that the SVG parts can stay the same across Wikis.
Cheers, Danny.
danny666@virgilio.it
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
So Magnus, The essence is to allow for - to separate a row and for } to delineate a column. Very nice idea-- but why all the |?
Since the {| and |} seem to work as starter and closer tags anyway, might it work to discard the |? {| align=right border=1 Cell 1, row 1 Cell 2, row 1 - Cell 1, row 2 Cell 2, row 2 |}
As always with apologies for my shameful benightedness, -S-
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Steve Vertigum wrote:
So Magnus, The essence is to allow for - to separate a row and for } to delineate a column. Very nice idea-- but why all the |?
Since the {| and |} seem to work as starter and closer tags anyway, might it work to discard the |? {| align=right border=1 Cell 1, row 1 Cell 2, row 1
Cell 1, row 2 Cell 2, row 2 |}
As always with apologies for my shameful benightedness, -S-
or just borrow existing markup: ---- for a row, since it makes a rule-off outside of tables.
We're having == == inside tables make a TH, right?
tarquin wrote:
or just borrow existing markup:
for a row, since it makes a rule-off outside of tables.
I thought of that, but I'd like to keep the wiki markup consistent, not "conditional".
We're having == == inside tables make a TH, right?
Nope. Two reasons: * Same as above * Too lazy to implement
But, I thought about two extensions: * "|_" make a caption * "|Cell 1||Cell2||Cell3" for a row with three cells
Whaddayathink? :-)
Update : |_ and || things now at
http://test.wikipedia.org/w/magnus/wiki.phtml?title=Wiki_table_test
...yes, I am replying to myself :-(
Steve Vertigum wrote:
So Magnus, The essence is to allow for - to separate a row and for } to delineate a column. Very nice idea-- but why all the |?
Since the {| and |} seem to work as starter and closer tags anyway, might it work to discard the |? {| align=right border=1 Cell 1, row 1 Cell 2, row 1
Cell 1, row 2 Cell 2, row 2 |}
You can have | A single cell spanning a long text across multiple lines that way * Nice for numbering * which you couldn't do * in a single line | Next cell
As always with apologies for my shameful benightedness,
Could as well have be me missing something obvoius :-)
Magnus
Magnus wrote:
You can have | A single cell spanning a long text across multiple lines that way
- Nice for numbering
- which you couldn't do
- in a single line
| Next cell
Ah -- so the | at the beginning is needed to enforce a line break at the end then-- otherwise something at the end would have to do this. This markup scheme seems like itll do the trick.
Now what about Winor/winol.exe ? ;-) Ive just started toying with my copy -- pint sized dumps only though.
-S-
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Steve Vertigum wrote:
Ah -- so the | at the beginning is needed to enforce a line break at the end then-- otherwise something at the end would have to do this. This markup scheme seems like itll do the trick.
You now can also do something like | Cell 1 || Cell 2 || Cell 3 with || separating the cells.
Now what about Winor/winol.exe ? ;-) Ive just started toying with my copy -- pint sized dumps only though.
That's currently "on ice", as I have trouble getting the wxWindows HTML componjent to display unicode. I'm not sure when I'll get back to it.
Magnus
MM: You now can also do something like | Cell 1 || Cell 2 || Cell 3 with || separating the cells.
Fantastic. The notion of making tables easier has been around over for a long time. Glad to see its becoming a reality.
That's currently "on ice", as I have trouble getting the wxWindows HTML componjent to display unicode. I'm not sure when I'll get back to it.
Are you you opensourcing it? -S-
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Steve Vertigum wrote:
MM: You now can also do something like | Cell 1 || Cell 2 || Cell 3 with || separating the cells.
Fantastic. The notion of making tables easier has been around over for a long time. Glad to see its becoming a reality.
There were lots of table markup suggestions a long time ago (I think Frodo made one, and Gandalf...;-)
Nothing happened (as usual), so I had to do the "eat-or-die"-routine again, sadly.
That's currently "on ice", as I have trouble getting the wxWindows HTML componjent to display unicode. I'm not sure when I'll get back to it.
Are you you opensourcing it?
Yes, hereby under GPL (didn't I say that somewhere? Stupid me!). Currently the source resembles a text after strong encryption, though.
Magnus
wikipedia-l@lists.wikimedia.org