r55002 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55001‎ | r55002 | r55003 >
Date:10:17, 14 August 2009
Author:werdna
Status:deferred
Tags:
Comment:
Add DiscussionThreading info to export-0.4.xsd. TODO: Test against real data to make sure I did it right :P
Modified paths:
  • /trunk/phase3/docs/export-0.4.xsd (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/export-0.4.xsd
@@ -10,7 +10,7 @@
1111 as a list of defined namespaces.
1212
1313 Version 0.4 adds per-revision delete flags, log exports,
14 - and a per-page redirect flag.
 14+ discussion threading data, and a per-page redirect flag.
1515
1616 The canonical URL to the schema document is:
1717 http://www.mediawiki.org/xml/export-0.4.xsd
@@ -114,6 +114,9 @@
115115 <element name="upload" type="mw:UploadType" />
116116 <element name="logitem" type="mw:LogItemType" />
117117 </choice>
 118+
 119+ <!-- Zero or One sets of discussion threading data -->
 120+ <element minOccurs="0" maxOccurs="1" type="mw:DiscussionThreadingInfo" />
118121 </sequence>
119122 </complexType>
120123
@@ -190,4 +193,18 @@
191194 </sequence>
192195 </complexType>
193196
 197+ <!-- Discussion threading data for LiquidThreads -->
 198+ <complexType name="DiscussionThreadingInfo">
 199+ <sequence>
 200+ <element name="ThreadSubject" type="string" />
 201+ <element name="ThreadParent" type="positiveInteger" />
 202+ <element name="ThreadAncestor" type="positiveInteger" />
 203+ <element name="ThreadPage" type="string" />
 204+ <element name="ThreadID" type="positiveInteger" />
 205+ <element name="ThreadAuthor" type="string" />
 206+ <element name="ThreadEditStatus" type="string" />
 207+ <element name="ThreadType" type="string" />
 208+ </sequence>
 209+ </complexType>
 210+
194211 </schema>

Status & tagging log