Talk:Markup spec/DTD

''There was I discussion on general aspects of what should be marked up in wikipedia (names, places, dates/times...). since Wikipedia DTD is about an XML representation of the current syntax I moved it to Talk:Simple ideology of Wikitax'' --Nichtich 01:36 Feb 7, 2003 (UTC)

&lt;nowiki>&lt;![CDATA[do [not] parse ]]>&lt;/nowiki>


 * I've never been quite clear on how CDATA sections work. If my data includes a raw "]]>", how do I encode it? --Brion VIBBER 06:44 Jan 23, 2003 (UTC)


 * <![CDATA[just]]> ]]&amp;gt; <![CDATA[split]]>



Image links are functionally different from regular wiki links, as they embed images. It would be best to use a distinct tag. --Brion VIBBER 07:03 Jan 23, 2003 (UTC)


 * You're right. I suggest:

Link to the page of the image:  image:Wiki.png  

Embed image/media/file/...

  

I prefer media because we only embed media objects and embed could mean something link "embed the content of another page". See also discussion on special pages below.

   ...    ...   

These seem overcomplicated. Wouldn't it be simpler (in an XML way) to use the same tag for all links, and just have a wiki-specific URI? eg:
 * local wiki link: Main Page
 * Main Page
 * interwiki link: CommunityExpectation
 * MeatBall:CommunityExpectation
 * interlanguage link: DTD de Vikipedio
 * <link href="wiki://EsperantoWikipedia/DTD_de_Vikipedio" rel="language" lang="eo" />
 * remote non-wiki link: Slashdot
 * <link href="http://slashdot.org/">Slashdot
 * ISBN: ISBN 0-201-89683-4
 * <link href="isbn:0201896834">ISBN 0-201-89683-4

Upon (possible) reconversion to wiki syntax, the parser could use the most efficient form of representation available in that particular wiki syntax for that type of link.


 * No redundancy please
 * An XML syntax should code information in tags and attributes. parsing strings is ugly and less efficient.
 * The difference between interwiki links and local wiki links depends on the application. Try to edit test:baz</tt> since now it's a valid name but maybe there will be a "test"-wiki in the future.
 * interlanguage links are a special topic. We could use a special tag: <interlanguage href="eo:DTD_de_Vikipedio"/>
 * How about link system="url"</tt> for external links instead of url</tt> and email</tt>?

--Nichtich 22:34 Feb 2, 2003 (UTC)

It could be useful to code

User:Foo => <link system="wiki" space="user" href="Foo"/> Talk:Bar => <link system="wiki" space="talk" href="Bar"/>

and in other languages

Benutzer:Foo => <link system="wiki" space="user" href="Foo"/> Diskussion:Bar => <link system="wiki" space="talk" href="Bar"/>

But how to handle a page like: Talk:User:Foo

Also possible (for instance in the german Wikipedia):

Diskussion:Talk:User:Foo

--Nichtich 21:59 Feb 2, 2003 (UTC)

notes on paragraphs
Manual Paragraphs with the p</tt> tag are pretty ugly to handle. Try:

Hi! This is a paragraph

with an empty line in it.

You get:

Hi! This is a paragraph with an empty line in it.

but the valid syntax is

Hi! This is a paragraph with an empty line in it.

Why can't we just remove all invalid HTML-Tags? :-(

-