Wikipedia DTD/Examples

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Here are some examples of XML coded Wikipedia articles. See also Wikipedia.DTD and media:Wikiarticle2html.xsl.

Short example[edit]

<?xml version="1.0" encoding="UTF-8"?>
    <title interwiki="en" article="Example"/>
    <interwiki language="de" article="Beispiel"/>
    Hello <link article="World"/>!
    How <i>are <b>you</b></i>?
    Just <u>tell <link article="Example" talk="talk">me</link></u>!

Same in Wikitax (asuming it´s the article

Hello [[World]]!

How ''are '''you'''''?
Just <u>tell [[talk:Example|me]]</u>!