Remove ParserOptions clonations, already cloned in getParserOptions().
[lhc/web/wiklou.git] / docs / export-demo.xml
1 <mediawiki xmlns="http://www.mediawiki.org/xml/export-0.4/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.4/ http://www.mediawiki.org/xml/export-0.4.xsd" version="0.4" xml:lang="en">
2
3 <!-- Optional global configuration info -->
4 <siteinfo>
5 <!-- Site name, as set in $wgSitename -->
6 <sitename>DemoWiki</sitename>
7
8 <!-- Forgot where you got this set? -->
9 <base>http://example.com/wiki/Main_Page</base>
10
11 <!-- Source software version -->
12 <generator>MediaWiki 1.5.0</generator>
13
14 <!-- Title case sensitivity options of the wiki this data came from -->
15 <!-- May be 'first-letter', 'case-sensitive', or 'case-insensitive' -->
16 <case>first-letter</case>
17
18 <!-- Defined namespace keys on the source wiki. -->
19 <!-- Titles can be substring-split to obtain the symbolic numeric key -->
20 <namespaces>
21 <namespace key="-2">Media</namespace>
22 <namespace key="-1">Special</namespace>
23 <namespace key="0"></namespace>
24 <namespace key="1">Talk</namespace>
25 <namespace key="2">User</namespace>
26 <namespace key="3">User talk</namespace>
27 <namespace key="4">DemoWiki</namespace>
28 <namespace key="5">DemoWIki talk</namespace>
29 <namespace key="6">Image</namespace>
30 <namespace key="7">Image talk</namespace>
31 <namespace key="8">MediaWiki</namespace>
32 <namespace key="9">MediaWiki talk</namespace>
33 <namespace key="10">Template</namespace>
34 <namespace key="11">Template talk</namespace>
35 <namespace key="12">Help</namespace>
36 <namespace key="13">Help talk</namespace>
37 <namespace key="14">Category</namespace>
38 <namespace key="15">Category talk</namespace>
39 </namespaces>
40 </siteinfo>
41
42 <!-- The rest of the data will be a series of page records -->
43 <page>
44 <!-- Titles are listed here in text form, with namespace prefix -->
45 <!-- if any, and spaces rather than the underscores used in URLs. -->
46 <title>Page title</title>
47
48 <!-- The page's immutable page_id number in the source database. -->
49 <!-- Page ID numbers are kept across page moves, but may change -->
50 <!-- if a page is deleted and recreated. -->
51 <id>1</id>
52
53 <!-- Tag wether this article is a redirect -->
54 <!-- This corresponds to the page_is_redirect in the page table -->
55 <redirect />
56
57 <!-- If restricted, the ACL is listed here raw. -->
58 <restrictions>edit=sysop:move=sysop</restrictions>
59
60 <!-- With a series of revision records... -->
61
62 <!-- Remember this is XML; if you must use a regex-based extractor -->
63 <!-- in place of a standard XML parser, be very careful. -->
64 <!-- * Don't forget to decode character entities! -->
65 <!-- * If using a 'loose' XML parser, ensure that whitespace is -->
66 <!-- preserved in the <text> elements. -->
67 <revision>
68 <!-- Unique revision ID number (rev_id) in the source database. -->
69 <!-- This number uniquely identifies the revision on that wiki. -->
70 <id>100</id>
71
72 <timestamp>2001-01-15T13:15:00Z</timestamp>
73 <contributor><username>Foobar</username><id>42</id></contributor>
74 <minor />
75 <comment>I have just one thing to say!</comment>
76 <text xml:space="preserve">A bunch of [[text]] here.</text>
77 </revision>
78
79 <revision>
80 <timestamp>2001-01-15T13:10:27Z</timestamp>
81 <contributor><ip>10.0.0.2</ip></contributor>
82 <comment>new!</comment>
83 <text xml:space="preserve">An earlier [[revision]].</text>
84 </revision>
85 </page>
86
87 <page>
88 <title>Talk:Page title</title>
89 <id>2</id>
90 <revision>
91 <id>101</id>
92 <timestamp>2001-01-15T14:03:00Z</timestamp>
93 <contributor><ip>10.0.0.2</ip></contributor>
94 <comment>hey</comment>
95 <text xml:space="preserve">WHYD YOU LOCK PAGE??!!! i was editing that jerk</text>
96 </revision>
97 </page>
98
99 <page>
100 <title>Image:Some image.jpg</title>
101 <id>3</id>
102 <revision>
103 <id>102</id>
104 <timestamp>2001-01-15T20:34:12Z</timestamp>
105 <contributor><username>Foobar</username><id>42</id></contributor>
106 <comment>My awesomeest image!</comment>
107 <text xml:space="preserve">This is an awesome little imgae. I lurves it. {{PD}}</text>
108 </revision>
109 <upload>
110 <timestamp>2001-01-15T20:34:12Z</timestamp>
111 <contributor><username>Foobar</username><id>42</id></contributor>
112 <comment>My awesomeest image!</comment>
113 <filename>Some_image.jpg</filename>
114 <src>http://upload.wikimedia.org/commons/2/22/Some_image.jpg</src>
115 <size>12345</size>
116 </upload>
117 </page>
118
119 <logitem>
120 <id>15</id>
121 <timestamp>2008-10-23T03:20:32Z</timestamp>
122 <contributor>
123 <username>Wikimedian</username>
124 <id>12345</id>
125 </contributor>
126 <comment>content was: 'I think this was a silly edit'</comment>
127 <type>delete</type>
128 <action>delete</action>
129 <logtitle>Silly page name</logtitle>
130 <params xml:space="preserve" />
131 </logitem>
132
133
134 </mediawiki>