tests/data/xml/dummy-template.xml
<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>http://en.wikipedia.org/wiki/Main_Page</base>
<generator>MediaWiki 1.25wmf12</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="2600" case="first-letter">Topic</namespace>
</namespaces>
</siteinfo>
<page>
<title>Fake page with msg</title>
<ns>0</ns>
<id>12345</id>
<revision>
<id>123456789</id>
<parentid>123456788</parentid>
<timestamp>2014-12-24T01:01:01Z</timestamp>
<contributor>
<username>John Vandenberg</username>
<id>31009137</id>
</contributor>
<minor/>
<comment>Foo</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1">
{{ MsG:foo }}
</text>
<sha1>1ywwm7o751gkr3fj9l7rqpl0s8o87b1</sha1>
</revision>
</page>
<page>
<title>Fake page with unnecessary template prefix</title>
<ns>1</ns>
<id>54321</id>
<revision>
<id>987654321</id>
<parentid>987654320</parentid>
<timestamp>2014-12-24T01:01:02Z</timestamp>
<contributor>
<username>John Vandenberg</username>
<id>31009137</id>
</contributor>
<minor/>
<comment>Lets discuss foo</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1">
{{TEMPLATE:bar}}
</text>
<sha1>1ywwm7o751gkr3fj9l7rqpl0s8o87b2</sha1>
</revision>
</page>
<page>
<title>Fake page with nested template</title>
<ns>1</ns>
<id>54322</id>
<revision>
<id>987654322</id>
<parentid>987654320</parentid>
<timestamp>2014-12-24T01:01:02Z</timestamp>
<contributor>
<username>John Vandenberg</username>
<id>31009137</id>
</contributor>
<minor/>
<comment>Lets discuss foo</comment>
<model>wikitext</model>
<format>text/x-wiki</format>
<text xml:space="preserve" bytes="1">
{{baz|{{boo|}} }}
</text>
<sha1>1ywwm7o751gkr3fj9l7rqpl0s8o87b2</sha1>
</revision>
</page>
</mediawiki>