add test files

This commit is contained in:
2018-12-12 14:56:48 -08:00
parent 26ea272114
commit 9c5a1b18f0
14 changed files with 114035 additions and 80 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

11997
test/dumps/enwiki-test.xml Normal file

File diff suppressed because it is too large Load Diff

117
test/dumps/enwiki-test.xml~ Normal file
View File

@@ -0,0 +1,117 @@
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">
<siteinfo>
<sitename>Wikipedia</sitename>
<dbname>enwiki</dbname>
<base>https://en.wikipedia.org/wiki/Main_Page</base>
<generator>MediaWiki 1.31.0-wmf.22</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2" case="first-letter">Media</namespace>
<namespace key="-1" case="first-letter">Special</namespace>
<namespace key="0" case="first-letter" />
<namespace key="1" case="first-letter">Talk</namespace>
<namespace key="2" case="first-letter">User</namespace>
<namespace key="3" case="first-letter">User talk</namespace>
<namespace key="4" case="first-letter">Wikipedia</namespace>
<namespace key="5" case="first-letter">Wikipedia talk</namespace>
<namespace key="6" case="first-letter">File</namespace>
<namespace key="7" case="first-letter">File talk</namespace>
<namespace key="8" case="first-letter">MediaWiki</namespace>
<namespace key="9" case="first-letter">MediaWiki talk</namespace>
<namespace key="10" case="first-letter">Template</namespace>
<namespace key="11" case="first-letter">Template talk</namespace>
<namespace key="12" case="first-letter">Help</namespace>
<namespace key="13" case="first-letter">Help talk</namespace>
<namespace key="14" case="first-letter">Category</namespace>
<namespace key="15" case="first-letter">Category talk</namespace>
<namespace key="100" case="first-letter">Portal</namespace>
<namespace key="101" case="first-letter">Portal talk</namespace>
<namespace key="108" case="first-letter">Book</namespace>
<namespace key="109" case="first-letter">Book talk</namespace>
<namespace key="118" case="first-letter">Draft</namespace>
<namespace key="119" case="first-letter">Draft talk</namespace>
<namespace key="446" case="first-letter">Education Program</namespace>
<namespace key="447" case="first-letter">Education Program talk</namespace>
<namespace key="710" case="first-letter">TimedText</namespace>
<namespace key="711" case="first-letter">TimedText talk</namespace>
<namespace key="828" case="first-letter">Module</namespace>
<namespace key="829" case="first-letter">Module talk</namespace>
<namespace key="2300" case="first-letter">Gadget</namespace>
<namespace key="2301" case="first-letter">Gadget talk</namespace>
<namespace key="2302" case="case-sensitive">Gadget definition</namespace>
<namespace key="2303" case="case-sensitive">Gadget definition talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>Test Title</title>
<ns>0</ns>
<id>1</id>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">
start with four words
</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">
start with four words and then add five more
</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">
start with four words
</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.53</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">
this edit will also be reverted
</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.60</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">
start with four words
</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
</page>
</mediawiki>

Binary file not shown.

Binary file not shown.

102
test/dumps/pwr-test.xml Normal file
View File

@@ -0,0 +1,102 @@
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">
<siteinfo>
<sitename>Wikipedia</sitename>
<dbname>enwiki</dbname>
<base>https://en.wikipedia.org/wiki/Main_Page</base>
<generator>MediaWiki 1.31.0-wmf.22</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2" case="first-letter">Media</namespace>
<namespace key="-1" case="first-letter">Special</namespace>
<namespace key="0" case="first-letter" />
<namespace key="1" case="first-letter">Talk</namespace>
<namespace key="2" case="first-letter">User</namespace>
<namespace key="3" case="first-letter">User talk</namespace>
<namespace key="4" case="first-letter">Wikipedia</namespace>
<namespace key="5" case="first-letter">Wikipedia talk</namespace>
<namespace key="6" case="first-letter">File</namespace>
<namespace key="7" case="first-letter">File talk</namespace>
<namespace key="8" case="first-letter">MediaWiki</namespace>
<namespace key="9" case="first-letter">MediaWiki talk</namespace>
<namespace key="10" case="first-letter">Template</namespace>
<namespace key="11" case="first-letter">Template talk</namespace>
<namespace key="12" case="first-letter">Help</namespace>
<namespace key="13" case="first-letter">Help talk</namespace>
<namespace key="14" case="first-letter">Category</namespace>
<namespace key="15" case="first-letter">Category talk</namespace>
<namespace key="100" case="first-letter">Portal</namespace>
<namespace key="101" case="first-letter">Portal talk</namespace>
<namespace key="108" case="first-letter">Book</namespace>
<namespace key="109" case="first-letter">Book talk</namespace>
<namespace key="118" case="first-letter">Draft</namespace>
<namespace key="119" case="first-letter">Draft talk</namespace>
<namespace key="446" case="first-letter">Education Program</namespace>
<namespace key="447" case="first-letter">Education Program talk</namespace>
<namespace key="710" case="first-letter">TimedText</namespace>
<namespace key="711" case="first-letter">TimedText talk</namespace>
<namespace key="828" case="first-letter">Module</namespace>
<namespace key="829" case="first-letter">Module talk</namespace>
<namespace key="2300" case="first-letter">Gadget</namespace>
<namespace key="2301" case="first-letter">Gadget talk</namespace>
<namespace key="2302" case="case-sensitive">Gadget definition</namespace>
<namespace key="2303" case="case-sensitive">Gadget definition talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>Test Title</title>
<ns>0</ns>
<id>1</id>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words and then add five more</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.53</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">this edit will also be reverted</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.60</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
</revision>
</page>
</mediawiki>

102
test/dumps/pwr-test.xml~ Normal file
View File

@@ -0,0 +1,102 @@
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">
<siteinfo>
<sitename>Wikipedia</sitename>
<dbname>enwiki</dbname>
<base>https://en.wikipedia.org/wiki/Main_Page</base>
<generator>MediaWiki 1.31.0-wmf.22</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2" case="first-letter">Media</namespace>
<namespace key="-1" case="first-letter">Special</namespace>
<namespace key="0" case="first-letter" />
<namespace key="1" case="first-letter">Talk</namespace>
<namespace key="2" case="first-letter">User</namespace>
<namespace key="3" case="first-letter">User talk</namespace>
<namespace key="4" case="first-letter">Wikipedia</namespace>
<namespace key="5" case="first-letter">Wikipedia talk</namespace>
<namespace key="6" case="first-letter">File</namespace>
<namespace key="7" case="first-letter">File talk</namespace>
<namespace key="8" case="first-letter">MediaWiki</namespace>
<namespace key="9" case="first-letter">MediaWiki talk</namespace>
<namespace key="10" case="first-letter">Template</namespace>
<namespace key="11" case="first-letter">Template talk</namespace>
<namespace key="12" case="first-letter">Help</namespace>
<namespace key="13" case="first-letter">Help talk</namespace>
<namespace key="14" case="first-letter">Category</namespace>
<namespace key="15" case="first-letter">Category talk</namespace>
<namespace key="100" case="first-letter">Portal</namespace>
<namespace key="101" case="first-letter">Portal talk</namespace>
<namespace key="108" case="first-letter">Book</namespace>
<namespace key="109" case="first-letter">Book talk</namespace>
<namespace key="118" case="first-letter">Draft</namespace>
<namespace key="119" case="first-letter">Draft talk</namespace>
<namespace key="446" case="first-letter">Education Program</namespace>
<namespace key="447" case="first-letter">Education Program talk</namespace>
<namespace key="710" case="first-letter">TimedText</namespace>
<namespace key="711" case="first-letter">TimedText talk</namespace>
<namespace key="828" case="first-letter">Module</namespace>
<namespace key="829" case="first-letter">Module talk</namespace>
<namespace key="2300" case="first-letter">Gadget</namespace>
<namespace key="2301" case="first-letter">Gadget talk</namespace>
<namespace key="2302" case="case-sensitive">Gadget definition</namespace>
<namespace key="2303" case="case-sensitive">Gadget definition talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>Test Title</title>
<ns>0</ns>
<id>1</id>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words and then add five more</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.52</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
<sha1>cp0mfp4o90fbpyxooys1rw95zn3ddff</sha1>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.53</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">this edit will also be reverted</text>
</revision>
<revision>
<timestamp>2010-12-13T02:51:55Z</timestamp>
<contributor>
<ip>76.102.106.60</ip>
</contributor>
<comment>baseline</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve">start with four words</text>
</revision>
</page>
</mediawiki>