mediawiki-extensions-Visual.../tests/parser/wikia-rte-roundtrip-tests.xml
Gabriel Wicke 0d30a5528e First combination of WikiDom serializers with existing parser in
tests/parser/parserTests.js.

* Removed var from es in es.js to allow node.js to access it as global. Only
  alternative solution appears to be a node-specific 'exports' construct:
  http://nodejs.org/docs/v0.3.1/api/modules.html
* Added es.Document.js and es.Document.Serializer.js in es/bases. Not sure if
  this is the desired location.
* Changed es.extend to es.extendClass in the serializers
* Modified the first parser test to include the WikiDom modules and call the
  new HTML serializer
2011-11-03 13:55:48 +00:00

1304 lines
39 KiB
XML

<mediawiki>
<page><id>1</id><title>Wikia RTE round-trip test 1</title><revision><id>1</id><text xml:space="preserve"></text></revision></page>
<page><id>2</id><title>Wikia RTE round-trip test 2</title><revision><id>2</id><text xml:space="preserve">
1a</text></revision></page>
<page><id>3</id><title>Wikia RTE round-trip test 3</title><revision><id>3</id><text xml:space="preserve">
1b</text></revision></page>
<page><id>4</id><title>Wikia RTE round-trip test 4</title><revision><id>4</id><text xml:space="preserve">
1c</text></revision></page>
<page><id>5</id><title>Wikia RTE round-trip test 5</title><revision><id>5</id><text xml:space="preserve">
1d</text></revision></page>
<page><id>6</id><title>Wikia RTE round-trip test 6</title><revision><id>6</id><text xml:space="preserve">
1e</text></revision></page>
<page><id>7</id><title>Wikia RTE round-trip test 7</title><revision><id>7</id><text xml:space="preserve">
1f</text></revision></page>
<page><id>8</id><title>Wikia RTE round-trip test 8</title><revision><id>8</id><text xml:space="preserve">
1g</text></revision></page>
<page><id>9</id><title>Wikia RTE round-trip test 9</title><revision><id>9</id><text xml:space="preserve">
1h</text></revision></page>
<page><id>10</id><title>Wikia RTE round-trip test 10</title><revision><id>10</id><text xml:space="preserve">
1i</text></revision></page>
<page><id>11</id><title>Wikia RTE round-trip test 11</title><revision><id>11</id><text xml:space="preserve">
1j</text></revision></page>
<page><id>12</id><title>Wikia RTE round-trip test 12</title><revision><id>12</id><text xml:space="preserve">1a</text></revision></page>
<page><id>13</id><title>Wikia RTE round-trip test 13</title><revision><id>13</id><text xml:space="preserve">1
b</text></revision></page>
<page><id>14</id><title>Wikia RTE round-trip test 14</title><revision><id>14</id><text xml:space="preserve">1
c</text></revision></page>
<page><id>15</id><title>Wikia RTE round-trip test 15</title><revision><id>15</id><text xml:space="preserve">1
d
x</text></revision></page>
<page><id>16</id><title>Wikia RTE round-trip test 16</title><revision><id>16</id><text xml:space="preserve">1
e
3</text></revision></page>
<page><id>17</id><title>Wikia RTE round-trip test 17</title><revision><id>17</id><text xml:space="preserve">1
f
3</text></revision></page>
<page><id>18</id><title>Wikia RTE round-trip test 18</title><revision><id>18</id><text xml:space="preserve">1
g
3</text></revision></page>
<page><id>19</id><title>Wikia RTE round-trip test 19</title><revision><id>19</id><text xml:space="preserve">1
h
3</text></revision></page>
<page><id>20</id><title>Wikia RTE round-trip test 20</title><revision><id>20</id><text xml:space="preserve">1
i
3</text></revision></page>
<page><id>21</id><title>Wikia RTE round-trip test 21</title><revision><id>21</id><text xml:space="preserve">1
j
3</text></revision></page>
<page><id>22</id><title>Wikia RTE round-trip test 22</title><revision><id>22</id><text xml:space="preserve">1
k
3</text></revision></page>
<page><id>23</id><title>Wikia RTE round-trip test 23</title><revision><id>23</id><text xml:space="preserve">1
l
3</text></revision></page>
<page><id>24</id><title>Wikia RTE round-trip test 24</title><revision><id>24</id><text xml:space="preserve">1
m
3
4
5
6
7
8
9</text></revision></page>
<page><id>25</id><title>Wikia RTE round-trip test 25</title><revision><id>25</id><text xml:space="preserve">1
a</text></revision></page>
<page><id>26</id><title>Wikia RTE round-trip test 26</title><revision><id>26</id><text xml:space="preserve">1
b</text></revision></page>
<page><id>27</id><title>Wikia RTE round-trip test 27</title><revision><id>27</id><text xml:space="preserve">1
c</text></revision></page>
<page><id>28</id><title>Wikia RTE round-trip test 28</title><revision><id>28</id><text xml:space="preserve">1
d</text></revision></page>
<page><id>29</id><title>Wikia RTE round-trip test 29</title><revision><id>29</id><text xml:space="preserve">1 b
3 4
5 6
y 8</text></revision></page>
<page><id>30</id><title>Wikia RTE round-trip test 30</title><revision><id>30</id><text xml:space="preserve">#1
#2
#3</text></revision></page>
<page><id>31</id><title>Wikia RTE round-trip test 31</title><revision><id>31</id><text xml:space="preserve">*1
*2
*3</text></revision></page>
<page><id>32</id><title>Wikia RTE round-trip test 32</title><revision><id>32</id><text xml:space="preserve">#1
##2
##3
###4</text></revision></page>
<page><id>33</id><title>Wikia RTE round-trip test 33</title><revision><id>33</id><text xml:space="preserve">*1
**2
**3
***4</text></revision></page>
<page><id>34</id><title>Wikia RTE round-trip test 34</title><revision><id>34</id><text xml:space="preserve">#1
#*2
#**5
#**3
#4</text></revision></page>
<page><id>35</id><title>Wikia RTE round-trip test 35</title><revision><id>35</id><text xml:space="preserve">#1
##1
##2
###1
###*1
###*2
###**345
###**567
###**#1
###**#2
###**##123123
###**#3
###**123
###*3
###2
##3
#2
#3
#4
#5</text></revision></page>
<page><id>36</id><title>Wikia RTE round-trip test 36</title><revision><id>36</id><text xml:space="preserve">
#1
*2
#3
*4
*5
#6</text></revision></page>
<page><id>37</id><title>Wikia RTE round-trip test 37</title><revision><id>37</id><text xml:space="preserve">
*1
*2
*3</text></revision></page>
<page><id>38</id><title>Wikia RTE round-trip test 38</title><revision><id>38</id><text xml:space="preserve">
*1
*2
*3</text></revision></page>
<page><id>39</id><title>Wikia RTE round-trip test 39</title><revision><id>39</id><text xml:space="preserve">*1
*2
*a
#a
#b
#c</text></revision></page>
<page><id>40</id><title>Wikia RTE round-trip test 40</title><revision><id>40</id><text xml:space="preserve">*1
*2
*b
#a
#b
#c</text></revision></page>
<page><id>41</id><title>Wikia RTE round-trip test 41</title><revision><id>41</id><text xml:space="preserve">*1
*2
*c
#a
#b
#c</text></revision></page>
<page><id>42</id><title>Wikia RTE round-trip test 42</title><revision><id>42</id><text xml:space="preserve">*1
*2
*d
#a
#b
#c</text></revision></page>
<page><id>43</id><title>Wikia RTE round-trip test 43</title><revision><id>43</id><text xml:space="preserve">*1
*2
*e
#a
#b
#c</text></revision></page>
<page><id>44</id><title>Wikia RTE round-trip test 44</title><revision><id>44</id><text xml:space="preserve">
*1
*2</text></revision></page>
<page><id>45</id><title>Wikia RTE round-trip test 45</title><revision><id>45</id><text xml:space="preserve">
*1
*2</text></revision></page>
<page><id>46</id><title>Wikia RTE round-trip test 46</title><revision><id>46</id><text xml:space="preserve">
*1
*2</text></revision></page>
<page><id>47</id><title>Wikia RTE round-trip test 47</title><revision><id>47</id><text xml:space="preserve">*1
*2</text></revision></page>
<page><id>48</id><title>Wikia RTE round-trip test 48</title><revision><id>48</id><text xml:space="preserve">
*1
*2</text></revision></page>
<page><id>49</id><title>Wikia RTE round-trip test 49</title><revision><id>49</id><text xml:space="preserve">#1
#a</text></revision></page>
<page><id>50</id><title>Wikia RTE round-trip test 50</title><revision><id>50</id><text xml:space="preserve">#1
#b</text></revision></page>
<page><id>51</id><title>Wikia RTE round-trip test 51</title><revision><id>51</id><text xml:space="preserve">#1
#c</text></revision></page>
<page><id>52</id><title>Wikia RTE round-trip test 52</title><revision><id>52</id><text xml:space="preserve">#1
#d</text></revision></page>
<page><id>53</id><title>Wikia RTE round-trip test 53</title><revision><id>53</id><text xml:space="preserve">#1
#e</text></revision></page>
<page><id>54</id><title>Wikia RTE round-trip test 54</title><revision><id>54</id><text xml:space="preserve">1
*2
*a
4</text></revision></page>
<page><id>55</id><title>Wikia RTE round-trip test 55</title><revision><id>55</id><text xml:space="preserve">1
*2
*b
4</text></revision></page>
<page><id>56</id><title>Wikia RTE round-trip test 56</title><revision><id>56</id><text xml:space="preserve">
1
*2
*c
4</text></revision></page>
<page><id>57</id><title>Wikia RTE round-trip test 57</title><revision><id>57</id><text xml:space="preserve">1
#2
#3
a</text></revision></page>
<page><id>58</id><title>Wikia RTE round-trip test 58</title><revision><id>58</id><text xml:space="preserve">1
#2
#3
b</text></revision></page>
<page><id>59</id><title>Wikia RTE round-trip test 59</title><revision><id>59</id><text xml:space="preserve">
1
#2
#3
c</text></revision></page>
<page><id>60</id><title>Wikia RTE round-trip test 60</title><revision><id>60</id><text xml:space="preserve">
1
#2
*5
#3
d</text></revision></page>
<page><id>61</id><title>Wikia RTE round-trip test 61</title><revision><id>61</id><text xml:space="preserve">=1=
= 1=
=1 =
= 1 =
= 1 =
==1==
== 1==
==1 ==
== 1 ==
== 1 ==
===1===
=== 1===
===1 ===
=== 1 ===
=== 1 ===
====1====
==== 1====
====1 ====
==== 1 ====
==== 1 ====
=====1=====
===== 1=====
=====1 =====
===== 1 =====
===== 1 =====
======1======
====== 1======
======1 ======
====== 1 ======
====== 1 ======</text></revision></page>
<page><id>62</id><title>Wikia RTE round-trip test 62</title><revision><id>62</id><text xml:space="preserve">* 1a
* 2
* 3
* 10
* 11
* 12
* 4
* 5
* 6
* 7
* 8
* 9</text></revision></page>
<page><id>63</id><title>Wikia RTE round-trip test 63</title><revision><id>63</id><text xml:space="preserve"># 1b
# 2
# 3
# 10
# 11
# 12
# 4
# 5
# 6
# 7
# 8
# 9</text></revision></page>
<page><id>64</id><title>Wikia RTE round-trip test 64</title><revision><id>64</id><text xml:space="preserve">
=1a=</text></revision></page>
<page><id>65</id><title>Wikia RTE round-trip test 65</title><revision><id>65</id><text xml:space="preserve">
=1b=</text></revision></page>
<page><id>66</id><title>Wikia RTE round-trip test 66</title><revision><id>66</id><text xml:space="preserve">
=1c=</text></revision></page>
<page><id>67</id><title>Wikia RTE round-trip test 67</title><revision><id>67</id><text xml:space="preserve">
=1d=</text></revision></page>
<page><id>68</id><title>Wikia RTE round-trip test 68</title><revision><id>68</id><text xml:space="preserve">
=1e=</text></revision></page>
<page><id>69</id><title>Wikia RTE round-trip test 69</title><revision><id>69</id><text xml:space="preserve">
=1f=</text></revision></page>
<page><id>70</id><title>Wikia RTE round-trip test 70</title><revision><id>70</id><text xml:space="preserve">
=1g=</text></revision></page>
<page><id>71</id><title>Wikia RTE round-trip test 71</title><revision><id>71</id><text xml:space="preserve">
=1=
a
b
=2=
a
b
== 3 ==
*a
*b
#c
#d
1
*1
1
=== 4===
=5 =
=== 6 ===
1 2 3 4
a
2
3
a</text></revision></page>
<page><id>72</id><title>Wikia RTE round-trip test 72</title><revision><id>72</id><text xml:space="preserve">{|
|123
|}</text></revision></page>
<page><id>73</id><title>Wikia RTE round-trip test 73</title><revision><id>73</id><text xml:space="preserve">
{|
|123
|}</text></revision></page>
<page><id>74</id><title>Wikia RTE round-trip test 74</title><revision><id>74</id><text xml:space="preserve">
{|
|123
|}</text></revision></page>
<page><id>75</id><title>Wikia RTE round-trip test 75</title><revision><id>75</id><text xml:space="preserve">
{|
|123
|}</text></revision></page>
<page><id>76</id><title>Wikia RTE round-trip test 76</title><revision><id>76</id><text xml:space="preserve">{|
|123
|}
{|
|123
|}</text></revision></page>
<page><id>77</id><title>Wikia RTE round-trip test 77</title><revision><id>77</id><text xml:space="preserve">{|
|123
|}
{|
|123
|}</text></revision></page>
<page><id>78</id><title>Wikia RTE round-trip test 78</title><revision><id>78</id><text xml:space="preserve">{|
|123
|}
{|
|123
|}</text></revision></page>
<page><id>79</id><title>Wikia RTE round-trip test 79</title><revision><id>79</id><text xml:space="preserve">{|
|123
|}
{|
|123
|}</text></revision></page>
<page><id>80</id><title>Wikia RTE round-trip test 80</title><revision><id>80</id><text xml:space="preserve">{|
|123||456
|-
|abc
|def
|}</text></revision></page>
<page><id>81</id><title>Wikia RTE round-trip test 81</title><revision><id>81</id><text xml:space="preserve">{|
!abc
!def
|-
!123!!456
|-
|abc
|def
|}</text></revision></page>
<page><id>82</id><title>Wikia RTE round-trip test 82</title><revision><id>82</id><text xml:space="preserve">{| border=&quot;1&quot;
|foo
|}</text></revision></page>
<page><id>83</id><title>Wikia RTE round-trip test 83</title><revision><id>83</id><text xml:space="preserve">{|
|123
{|
|123
|}
{|
|123
|}
|}</text></revision></page>
<page><id>84</id><title>Wikia RTE round-trip test 84</title><revision><id>84</id><text xml:space="preserve">{|
|
{|
|
{|
|123
|}
|}
|}</text></revision></page>
<page><id>85</id><title>Wikia RTE round-trip test 85</title><revision><id>85</id><text xml:space="preserve">{|
|
123
|}</text></revision></page>
<page><id>86</id><title>Wikia RTE round-trip test 86</title><revision><id>86</id><text xml:space="preserve">{|
|
*123
|}</text></revision></page>
<page><id>87</id><title>Wikia RTE round-trip test 87</title><revision><id>87</id><text xml:space="preserve">{|
|
==123==
|}</text></revision></page>
<page><id>88</id><title>Wikia RTE round-trip test 88</title><revision><id>88</id><text xml:space="preserve">{|
|
123
|}</text></revision></page>
<page><id>89</id><title>Wikia RTE round-trip test 89</title><revision><id>89</id><text xml:space="preserve">{|
|123
456
|}</text></revision></page>
<page><id>90</id><title>Wikia RTE round-trip test 90</title><revision><id>90</id><text xml:space="preserve">{| border=&quot;1&quot;
|+foo
|- style=&quot;color: red;&quot;
|123
| align=&quot;right&quot;|456
|}</text></revision></page>
<page><id>91</id><title>Wikia RTE round-trip test 91</title><revision><id>91</id><text xml:space="preserve">{| style=&quot;color: red;&quot; class=&quot;table&quot;
|+ align=&quot;bottom&quot; style=&quot;color:#66f&quot;|foo
|bar
|}</text></revision></page>
<page><id>92</id><title>Wikia RTE round-trip test 92</title><revision><id>92</id><text xml:space="preserve">{| style=&quot;color: blue&quot;
|123
|}
{|style=&quot;color: #f00;border:solid 1px green&quot;
|123
|}</text></revision></page>
<page><id>93</id><title>Wikia RTE round-trip test 93</title><revision><id>93</id><text xml:space="preserve">{|
|+foo
!bar
|-
|123
|}</text></revision></page>
<page><id>94</id><title>Wikia RTE round-trip test 94</title><revision><id>94</id><text xml:space="preserve">{|
|Test
{|
|Test
|}
|}</text></revision></page>
<page><id>95</id><title>Wikia RTE round-trip test 95</title><revision><id>95</id><text xml:space="preserve">foo
{|
|bar
|}
foo</text></revision></page>
<page><id>96</id><title>Wikia RTE round-trip test 96</title><revision><id>96</id><text xml:space="preserve">foo
{|
|bar
|}
foo</text></revision></page>
<page><id>97</id><title>Wikia RTE round-trip test 97</title><revision><id>97</id><text xml:space="preserve">*foo
{|
|bar
|}
foo</text></revision></page>
<page><id>98</id><title>Wikia RTE round-trip test 98</title><revision><id>98</id><text xml:space="preserve">=foo=
{|
|bar
|}
foo</text></revision></page>
<page><id>99</id><title>Wikia RTE round-trip test 99</title><revision><id>99</id><text xml:space="preserve">123 [[bar]] 456</text></revision></page>
<page><id>100</id><title>Wikia RTE round-trip test 100</title><revision><id>100</id><text xml:space="preserve">abc [[foo|bar]] def</text></revision></page>
<page><id>101</id><title>Wikia RTE round-trip test 101</title><revision><id>101</id><text xml:space="preserve">[[:Category:foo]] 123</text></revision></page>
<page><id>102</id><title>Wikia RTE round-trip test 102</title><revision><id>102</id><text xml:space="preserve">[[Foo]]s 123</text></revision></page>
<page><id>103</id><title>Wikia RTE round-trip test 103</title><revision><id>103</id><text xml:space="preserve">[[#Foo]] 123</text></revision></page>
<page><id>104</id><title>Wikia RTE round-trip test 104</title><revision><id>104</id><text xml:space="preserve">[[/foo]] 123</text></revision></page>
<page><id>105</id><title>Wikia RTE round-trip test 105</title><revision><id>105</id><text xml:space="preserve">[[foo &amp; bar]]</text></revision></page>
<page><id>106</id><title>Wikia RTE round-trip test 106</title><revision><id>106</id><text xml:space="preserve">[[File:6.jpg]] 123</text></revision></page>
<page><id>107</id><title>Wikia RTE round-trip test 107</title><revision><id>107</id><text xml:space="preserve">[[File:6.jpg|thumb|caption]] 123</text></revision></page>
<page><id>108</id><title>Wikia RTE round-trip test 108</title><revision><id>108</id><text xml:space="preserve">[[File:6.jpg|center]] 123</text></revision></page>
<page><id>109</id><title>Wikia RTE round-trip test 109</title><revision><id>109</id><text xml:space="preserve">[[File:6.jpg|frame]] 123</text></revision></page>
<page><id>110</id><title>Wikia RTE round-trip test 110</title><revision><id>110</id><text xml:space="preserve">[[File:6.jpg|120px]] 123</text></revision></page>
<page><id>111</id><title>Wikia RTE round-trip test 111</title><revision><id>111</id><text xml:space="preserve">[[File:IAmBrokenImageLink]] 123 [[File:IAmBrokenImageLink|thumb]] 123 [[File:IAmBrokenImageLink|120px|bla bla bla]] 123</text></revision></page>
<page><id>112</id><title>Wikia RTE round-trip test 112</title><revision><id>112</id><text xml:space="preserve">[[File:Wiki.png|thumb|caption [[test]] ''aaa'' '''bar''']]</text></revision></page>
<page><id>113</id><title>Wikia RTE round-trip test 113</title><revision><id>113</id><text xml:space="preserve">[[File:B0rken.png|thumb|caption [[test]] ''aaa'' '''bar''']]</text></revision></page>
<page><id>114</id><title>Wikia RTE round-trip test 114</title><revision><id>114</id><text xml:space="preserve">[[Video:Video.png|caption [[foo]] ''aaa'' '''bar''']]</text></revision></page>
<page><id>115</id><title>Wikia RTE round-trip test 115</title><revision><id>115</id><text xml:space="preserve">[[Video:B0rken.png|caption [[foo]] ''aaa'' '''bar''']]</text></revision></page>
<page><id>116</id><title>Wikia RTE round-trip test 116</title><revision><id>116</id><text xml:space="preserve">[http://wp.pl]
[http://wp.pl foo]
[mailto:info@example.org email me]
[http://wp.pl]
[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</text></revision></page>
<page><id>117</id><title>Wikia RTE round-trip test 117</title><revision><id>117</id><text xml:space="preserve">[http://wp.pl]
http://onet.pl
[http://wp.pl foo]</text></revision></page>
<page><id>118</id><title>Wikia RTE round-trip test 118</title><revision><id>118</id><text xml:space="preserve">[[Bart|&lt;span style='color:#1A2BBB'&gt;foo&lt;/span&gt;]]</text></revision></page>
<page><id>119</id><title>Wikia RTE round-trip test 119</title><revision><id>119</id><text xml:space="preserve">[[Bart|&lt;span style=&quot;color:#1A2BBB&quot;&gt;foo&lt;/span&gt;]]</text></revision></page>
<page><id>120</id><title>Wikia RTE round-trip test 120</title><revision><id>120</id><text xml:space="preserve">&lt;span style=&quot;font-family: 'comic sans ms'; color:#666&quot;&gt;foo&lt;/span&gt;</text></revision></page>
<page><id>121</id><title>Wikia RTE round-trip test 121</title><revision><id>121</id><text xml:space="preserve">''i'' '''b''' - '''''bi'' b''' - '''''bi''' i''</text></revision></page>
<page><id>122</id><title>Wikia RTE round-trip test 122</title><revision><id>122</id><text xml:space="preserve">{{123}}</text></revision></page>
<page><id>123</id><title>Wikia RTE round-trip test 123</title><revision><id>123</id><text xml:space="preserve">inline template {{123}}</text></revision></page>
<page><id>124</id><title>Wikia RTE round-trip test 124</title><revision><id>124</id><text xml:space="preserve">* {{123}} {{abc}}
*{{456}}
**{{789}}
# {{123}} {{abc}}
#{{456}}
##{{789}}
: {{123}} {{abc}}
:{{456}}
::{{789}}
::*: {{foo}}
:::# {{bar}}</text></revision></page>
<page><id>125</id><title>Wikia RTE round-trip test 125</title><revision><id>125</id><text xml:space="preserve">{{123|
foo=bar}}</text></revision></page>
<page><id>126</id><title>Wikia RTE round-trip test 126</title><revision><id>126</id><text xml:space="preserve">{|
|+caption
| 123
|}</text></revision></page>
<page><id>127</id><title>Wikia RTE round-trip test 127</title><revision><id>127</id><text xml:space="preserve">{|
| style=&quot;color:blue&quot;| 123
| style=&quot;color:red&quot; |456
|}</text></revision></page>
<page><id>128</id><title>Wikia RTE round-trip test 128</title><revision><id>128</id><text xml:space="preserve">&lt;b style=&quot;color: red&quot;&gt;a''b''
&lt;/b&gt;</text></revision></page>
<page><id>129</id><title>Wikia RTE round-trip test 129</title><revision><id>129</id><text xml:space="preserve">foo&lt;br /&gt;bar&lt;b style=&quot;color: #f55;&quot;&gt;foo&lt;/b&gt; '''bar'''</text></revision></page>
<page><id>130</id><title>Wikia RTE round-trip test 130</title><revision><id>130</id><text xml:space="preserve">&lt;strike&gt;123&lt;/strike&gt;
456</text></revision></page>
<page><id>131</id><title>Wikia RTE round-trip test 131</title><revision><id>131</id><text xml:space="preserve">
&lt;ul&gt;
&lt;li&gt;foo&lt;/li&gt;
&lt;li&gt;foo&lt;/li&gt;&lt;li&gt;foo&lt;/li&gt;
&lt;/ul&gt;
123
&lt;ul&gt;&lt;li&gt;foo&lt;/li&gt;&lt;/ul&gt;</text></revision></page>
<page><id>132</id><title>Wikia RTE round-trip test 132</title><revision><id>132</id><text xml:space="preserve">123&lt;br /&gt;456
123
&lt;br /&gt;
456
123&lt;br /&gt;
456
123
&lt;br /&gt;456</text></revision></page>
<page><id>133</id><title>Wikia RTE round-trip test 133</title><revision><id>133</id><text xml:space="preserve">: 123
;456
: 789
;foo
:abc
;def</text></revision></page>
<page><id>134</id><title>Wikia RTE round-trip test 134</title><revision><id>134</id><text xml:space="preserve">:1
::2
:::3
::::4
abc
::d</text></revision></page>
<page><id>135</id><title>Wikia RTE round-trip test 135</title><revision><id>135</id><text xml:space="preserve">:::*1
:::**2
:::**3</text></revision></page>
<page><id>136</id><title>Wikia RTE round-trip test 136</title><revision><id>136</id><text xml:space="preserve">:::*1
:::**2
:::#* 3
:::#*#4</text></revision></page>
<page><id>137</id><title>Wikia RTE round-trip test 137</title><revision><id>137</id><text xml:space="preserve">:::*:#foo
:::# bar</text></revision></page>
<page><id>138</id><title>Wikia RTE round-trip test 138</title><revision><id>138</id><text xml:space="preserve">::*:#foo
:::# bar</text></revision></page>
<page><id>139</id><title>Wikia RTE round-trip test 139</title><revision><id>139</id><text xml:space="preserve">:One
:* Two
:**Three</text></revision></page>
<page><id>140</id><title>Wikia RTE round-trip test 140</title><revision><id>140</id><text xml:space="preserve">;ReverseParser rox
;*foo
;*bar</text></revision></page>
<page><id>141</id><title>Wikia RTE round-trip test 141</title><revision><id>141</id><text xml:space="preserve">
[[Category:a]]
[[Category:b]] [[Category:c]] [[Category:d]] [[Category:e]]
* [[Category:f]]
** [[Category:g]]h
*** i[[Category:j]]
{|
|[[Category:1]]
| [[Category:2]]
|-
|a[[Category:3]]
|a
[[Category:4]]b
|}
[[Category:5]] abc</text></revision></page>
<page><id>142</id><title>Wikia RTE round-trip test 142</title><revision><id>142</id><text xml:space="preserve">__TOC__
{{PAGENAME}}
__NOTOC__</text></revision></page>
<page><id>143</id><title>Wikia RTE round-trip test 143</title><revision><id>143</id><text xml:space="preserve">:: __TOC__
{|
|
{{PAGENAME}}
| __NOTOC__
|}</text></revision></page>
<page><id>144</id><title>Wikia RTE round-trip test 144</title><revision><id>144</id><text xml:space="preserve">&lt;includeonly&gt;abc
&lt;/includeonly&gt;
&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly&gt;
abc&lt;/includeonly&gt;</text></revision></page>
<page><id>145</id><title>Wikia RTE round-trip test 145</title><revision><id>145</id><text xml:space="preserve">{{localurl:fullpagename}}
{{#language:pl}}</text></revision></page>
<page><id>146</id><title>Wikia RTE round-trip test 146</title><revision><id>146</id><text xml:space="preserve">I'm, you're
&quot;ąźół&quot;</text></revision></page>
<page><id>147</id><title>Wikia RTE round-trip test 147</title><revision><id>147</id><text xml:space="preserve">
&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly&gt;abc&lt;/includeonly&gt;
*&lt;includeonly&gt;abc&lt;/includeonly&gt;
* &lt;includeonly&gt;abc&lt;/includeonly&gt;
* &lt;includeonly&gt;abc&lt;/includeonly&gt;
* &lt;includeonly&gt;abc&lt;/includeonly&gt;
**&lt;includeonly&gt;abc&lt;/includeonly&gt;
***&lt;includeonly&gt;abc&lt;/includeonly&gt;
#&lt;includeonly&gt;abc&lt;/includeonly&gt;
# &lt;includeonly&gt;abc&lt;/includeonly&gt;
# &lt;includeonly&gt;abc&lt;/includeonly&gt;
# &lt;includeonly&gt;abc&lt;/includeonly&gt;
##&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly&gt;abc&lt;/includeonly&gt;
&lt;includeonly abc='def' ghi&gt;abc&lt;/includeonly&gt;</text></revision></page>
<page><id>148</id><title>Wikia RTE round-trip test 148</title><revision><id>148</id><text xml:space="preserve">
~~~
~~~
*~~~
* ~~~
* ~~~
* ~~~
**~~~
***~~~
#~~~
# ~~~
# ~~~
# ~~~
##~~~
~~~
~~~~
~~~~
~~~~</text></revision></page>
<page><id>149</id><title>Wikia RTE round-trip test 149</title><revision><id>149</id><text xml:space="preserve">[a]
[[a]
[[[a]
[[[[a]
[[[[[a]
[[[[[[a]
[[[[[[[a]
[a]]
[a]]]
[a]]]]
[a]]]]]
[a]]]]]]
[a]]]]]]]
[a]
[[a]]
[[[a]]]
[[[[a]]]]
[[[[[a]]]]]
[[[[[[a]]]]]]
[[[[[[[a]]]]]]]
[[[[[[[[a]]]]]]]]
[[[[[[[[[a]]]]]]]]]</text></revision></page>
<page><id>150</id><title>Wikia RTE round-trip test 150</title><revision><id>150</id><text xml:space="preserve">[[Sideshow_Bob_Roberts[[Sideshow_Bob_Roberts[[Sideshow_Bob_Roberts]]]]]][[Sideshow Bob Roberts[[Sideshow Bob Roberts[[Sideshow Bob Roberts]]]]]]</text></revision></page>
<page><id>151</id><title>Wikia RTE round-trip test 151</title><revision><id>151</id><text xml:space="preserve">&lt;te&amp;st&gt;a&amp;b&amp;c&lt;/te&lt;&amp;&gt;st&gt; &amp;amp; &amp;nbsp; &amp;lt; &amp;gt; : &amp;#58; &amp;#123; - 123 &amp;#x5f;</text></revision></page>
<page><id>152</id><title>Wikia RTE round-trip test 152</title><revision><id>152</id><text xml:space="preserve">&lt;noinclude&gt;&amp;#91;brackets&amp;#93;&amp;nbsp;&amp;amp;&amp;nbsp;non-breaking&amp;nbsp;spaces&lt;/noinclude&gt;
&lt;noinclude&gt;[brackets] &amp; non-breaking spaces&lt;/noinclude&gt;</text></revision></page>
<page><id>153</id><title>Wikia RTE round-trip test 153</title><revision><id>153</id><text xml:space="preserve">« foo</text></revision></page>
<page><id>154</id><title>Wikia RTE round-trip test 154</title><revision><id>154</id><text xml:space="preserve">ÀàĄąÒòỪừỲỳŹź</text></revision></page>
<page><id>155</id><title>Wikia RTE round-trip test 155</title><revision><id>155</id><text xml:space="preserve">(義) (誠) (涅 ネム) foo</text></revision></page>
<page><id>156</id><title>Wikia RTE round-trip test 156</title><revision><id>156</id><text xml:space="preserve">foo ? ;-) bar</text></revision></page>
<page><id>157</id><title>Wikia RTE round-trip test 157</title><revision><id>157</id><text xml:space="preserve">bar „foo“ ;)</text></revision></page>
<page><id>158</id><title>Wikia RTE round-trip test 158</title><revision><id>158</id><text xml:space="preserve">[[&amp;]]
[[&amp;amp;]]
[[foo &amp; bar]]es
[[Flip &amp; Flap]]
[[Flip &amp; Flap|and &amp;amp; entity]]
[[Flip &amp;amp; Entity]]
foo &amp; bar
foo &amp;amp; entity
[[foo|&amp;amp;]]
[[foo|Caption with &amp;amp; entity]]</text></revision></page>
<page><id>159</id><title>Wikia RTE round-trip test 159</title><revision><id>159</id><text xml:space="preserve">[[/foo]]
[[/foo/]]
[[/foo bar]]
[[/foo bar/]]</text></revision></page>
<page><id>160</id><title>Wikia RTE round-trip test 160</title><revision><id>160</id><text xml:space="preserve">[[RTE_test_page/foo|foo]]
[[/foo/]]
[[RTE_test_page/foo|bar]]
[[RTE_test_page/foo]]</text></revision></page>
<page><id>161</id><title>Wikia RTE round-trip test 161</title><revision><id>161</id><text xml:space="preserve">
&lt;div&gt;123&lt;/div&gt;
&lt;div&gt;456&lt;/div&gt;
&lt;div&gt;789&lt;/div&gt;</text></revision></page>
<page><id>162</id><title>Wikia RTE round-trip test 162</title><revision><id>162</id><text xml:space="preserve">&lt;div&gt;123&lt;/div&gt;
&lt;div&gt;456&lt;/div&gt;
&lt;div&gt;
789&lt;/div&gt;</text></revision></page>
<page><id>163</id><title>Wikia RTE round-trip test 163</title><revision><id>163</id><text xml:space="preserve">&lt;div&gt;
{|
|123
|}
&lt;/div&gt;</text></revision></page>
<page><id>164</id><title>Wikia RTE round-trip test 164</title><revision><id>164</id><text xml:space="preserve">&lt;div&gt;
pre
&lt;/div&gt;</text></revision></page>
<page><id>165</id><title>Wikia RTE round-trip test 165</title><revision><id>165</id><text xml:space="preserve">&lt;div&gt;
* 123
&lt;/div&gt;
&lt;div&gt;
# 123
&lt;/div&gt;
&lt;div&gt;
: 123
&lt;/div&gt;</text></revision></page>
<page><id>166</id><title>Wikia RTE round-trip test 166</title><revision><id>166</id><text xml:space="preserve">&lt;div&gt;
&lt;span&gt;foo&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span&gt;foo&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;foo&lt;/span&gt;&lt;/div&gt;</text></revision></page>
<page><id>167</id><title>Wikia RTE round-trip test 167</title><revision><id>167</id><text xml:space="preserve">&lt;div&gt;
{|
|123
|}
&lt;/div&gt;</text></revision></page>
<page><id>168</id><title>Wikia RTE round-trip test 168</title><revision><id>168</id><text xml:space="preserve">{|
|&lt;div class=&quot;foo&quot;&gt; &lt;/div&gt;
{|
|bar
|}
|}</text></revision></page>
<page><id>169</id><title>Wikia RTE round-trip test 169</title><revision><id>169</id><text xml:space="preserve">&lt;div&gt;
== foo ==
bar
&lt;/div&gt;</text></revision></page>
<page><id>170</id><title>Wikia RTE round-trip test 170</title><revision><id>170</id><text xml:space="preserve">&lt;div&gt;123&lt;/div&gt;</text></revision></page>
<page><id>171</id><title>Wikia RTE round-trip test 171</title><revision><id>171</id><text xml:space="preserve">&lt;div&gt;
123
&lt;/div&gt;</text></revision></page>
<page><id>172</id><title>Wikia RTE round-trip test 172</title><revision><id>172</id><text xml:space="preserve">&lt;div&gt;
123
&lt;/div&gt;</text></revision></page>
<page><id>173</id><title>Wikia RTE round-trip test 173</title><revision><id>173</id><text xml:space="preserve">&lt;div&gt;
123
&lt;/div&gt;</text></revision></page>
<page><id>174</id><title>Wikia RTE round-trip test 174</title><revision><id>174</id><text xml:space="preserve">&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;foo&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;</text></revision></page>
<page><id>175</id><title>Wikia RTE round-trip test 175</title><revision><id>175</id><text xml:space="preserve">&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;foo&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;</text></revision></page>
<page><id>176</id><title>Wikia RTE round-trip test 176</title><revision><id>176</id><text xml:space="preserve">&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;foo&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</text></revision></page>
<page><id>177</id><title>Wikia RTE round-trip test 177</title><revision><id>177</id><text xml:space="preserve">&lt;div&gt;one
two
three&lt;/div&gt;</text></revision></page>
<page><id>178</id><title>Wikia RTE round-trip test 178</title><revision><id>178</id><text xml:space="preserve">&lt;div&gt;1
2
3
4
5
6&lt;/div&gt;</text></revision></page>
<page><id>179</id><title>Wikia RTE round-trip test 179</title><revision><id>179</id><text xml:space="preserve">&lt;div&gt;one
two
----
three
four&lt;/div&gt;</text></revision></page>
<page><id>180</id><title>Wikia RTE round-trip test 180</title><revision><id>180</id><text xml:space="preserve">&lt;div&gt;
&lt;h2&gt;foo&lt;/h2&gt;
{|
|bar
|}
&lt;/div&gt;</text></revision></page>
<page><id>181</id><title>Wikia RTE round-trip test 181</title><revision><id>181</id><text xml:space="preserve">&lt;div&gt;&lt;div&gt;&lt;span&gt;foo&lt;/span&gt;&lt;/div&gt;
&lt;!-- bar --&gt;
&lt;/div&gt;</text></revision></page>
<page><id>182</id><title>Wikia RTE round-trip test 182</title><revision><id>182</id><text xml:space="preserve">&lt;div&gt;&lt;div&gt;&lt;span&gt;foo&lt;/span&gt;&lt;/div&gt;
&lt;!-- bar --&gt;
&lt;/div&gt;</text></revision></page>
<page><id>183</id><title>Wikia RTE round-trip test 183</title><revision><id>183</id><text xml:space="preserve">&lt;p style=&quot;text-align:right&quot;&gt;123&lt;/p&gt;
456</text></revision></page>
<page><id>184</id><title>Wikia RTE round-trip test 184</title><revision><id>184</id><text xml:space="preserve">&lt;p style=&quot;text-align:right;&quot;&gt;123&lt;/p&gt;
456</text></revision></page>
<page><id>185</id><title>Wikia RTE round-trip test 185</title><revision><id>185</id><text xml:space="preserve">&lt;p style=&quot;text-align: center; margin-left:40px;font-size: 150%;&quot;&gt;foo&lt;/p&gt;</text></revision></page>
<page><id>186</id><title>Wikia RTE round-trip test 186</title><revision><id>186</id><text xml:space="preserve">&lt;p style=&quot;text-align:center; font-size: 150%&quot;&gt;foo&lt;/p&gt;</text></revision></page>
<page><id>187</id><title>Wikia RTE round-trip test 187</title><revision><id>187</id><text xml:space="preserve">&lt;p style=&quot;text-indent:4em&quot;&gt;foo&lt;/p&gt;</text></revision></page>
<page><id>188</id><title>Wikia RTE round-trip test 188</title><revision><id>188</id><text xml:space="preserve">&lt;p style=&quot;text-align: center; height: 3em;&quot;&gt;&amp;#160;&lt;/p&gt;</text></revision></page>
<page><id>189</id><title>Wikia RTE round-trip test 189</title><revision><id>189</id><text xml:space="preserve">&lt;p style=&quot;text-align: center; height: 3em;&quot;&gt;123&amp;#160;456&lt;/p&gt;</text></revision></page>
<page><id>190</id><title>Wikia RTE round-trip test 190</title><revision><id>190</id><text xml:space="preserve">foo
&lt;!--123 --&gt;
bar</text></revision></page>
<page><id>191</id><title>Wikia RTE round-trip test 191</title><revision><id>191</id><text xml:space="preserve">abc
&lt;!--123
456
789
--&gt;</text></revision></page>
<page><id>192</id><title>Wikia RTE round-trip test 192</title><revision><id>192</id><text xml:space="preserve">{|
! foo
|-
| bar
|}</text></revision></page>
<page><id>193</id><title>Wikia RTE round-trip test 193</title><revision><id>193</id><text xml:space="preserve">foo
http://images3.wikia.nocookie.net/kirkburn/images/a/a9/Example.jpg
bar</text></revision></page>
<page><id>194</id><title>Wikia RTE round-trip test 194</title><revision><id>194</id><text xml:space="preserve">&lt;br /&gt;&lt;br /&gt;123</text></revision></page>
<page><id>195</id><title>Wikia RTE round-trip test 195</title><revision><id>195</id><text xml:space="preserve">&lt;br /&gt;
&lt;br /&gt;
foo
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</text></revision></page>
<page><id>196</id><title>Wikia RTE round-trip test 196</title><revision><id>196</id><text xml:space="preserve">123
&lt;br style=&quot;clear:both&quot; /&gt;
== 456 ==</text></revision></page>
<page><id>197</id><title>Wikia RTE round-trip test 197</title><revision><id>197</id><text xml:space="preserve">* a
* b
*: c
*: d
*: e
** f
**: g
**: h</text></revision></page>
<page><id>198</id><title>Wikia RTE round-trip test 198</title><revision><id>198</id><text xml:space="preserve">* abc
** def
*# ghi
* abc
** def
*# ghi</text></revision></page>
<page><id>199</id><title>Wikia RTE round-trip test 199</title><revision><id>199</id><text xml:space="preserve">== test ==
*
** foo
** bar
*** 123
*</text></revision></page>
<page><id>200</id><title>Wikia RTE round-trip test 200</title><revision><id>200</id><text xml:space="preserve">&lt;div&gt;foo
*bar
&lt;/div&gt;
&lt;div&gt;foo
{|
|123
|}
&lt;/div&gt;</text></revision></page>
<page><id>201</id><title>Wikia RTE round-trip test 201</title><revision><id>201</id><text xml:space="preserve">&lt;div&gt;123
{|
|123
|}
&lt;/div&gt;</text></revision></page>
<page><id>202</id><title>Wikia RTE round-trip test 202</title><revision><id>202</id><text xml:space="preserve">&lt;div&gt;&lt;span&gt;foo&lt;/span&gt;
{|
|bar
|}
&lt;/div&gt;</text></revision></page>
<page><id>203</id><title>Wikia RTE round-trip test 203</title><revision><id>203</id><text xml:space="preserve">&lt;div&gt;&lt;span&gt;foo&lt;/span&gt;
{|
|bar
|}
&lt;/div&gt;</text></revision></page>
<page><id>204</id><title>Wikia RTE round-trip test 204</title><revision><id>204</id><text xml:space="preserve">123
----
456
789
----
abc</text></revision></page>
<page><id>205</id><title>Wikia RTE round-trip test 205</title><revision><id>205</id><text xml:space="preserve">{|
|foo [[bar]]
|foo '''bar'''
|}</text></revision></page>
<page><id>206</id><title>Wikia RTE round-trip test 206</title><revision><id>206</id><text xml:space="preserve">{|
| foo &amp;rarr; bar
| 123 &amp;nbsp; 456
|-
| abc &amp;mdash;
| def &amp;nbsp;
|}</text></revision></page>
<page><id>207</id><title>Wikia RTE round-trip test 207</title><revision><id>207</id><text xml:space="preserve">{|
|
----
foo
|
----
foo
|}</text></revision></page>
<page><id>208</id><title>Wikia RTE round-trip test 208</title><revision><id>208</id><text xml:space="preserve">[[File:Foo.ogg]]</text></revision></page>
<page><id>209</id><title>Wikia RTE round-trip test 209</title><revision><id>209</id><text xml:space="preserve">[[Media:Wiki.png]]
[[File:Wiki.png]]
[[Media:Foo.png]]</text></revision></page>
<page><id>210</id><title>Wikia RTE round-trip test 210</title><revision><id>210</id><text xml:space="preserve">[[Image:Placeholder]]</text></revision></page>
<page><id>211</id><title>Wikia RTE round-trip test 211</title><revision><id>211</id><text xml:space="preserve">[[Image:Placeholder|thumb|200px|foo caption bar]]</text></revision></page>
<page><id>212</id><title>Wikia RTE round-trip test 212</title><revision><id>212</id><text xml:space="preserve">[[Video:SomethingNotExisting]]</text></revision></page>
<page><id>213</id><title>Wikia RTE round-trip test 213</title><revision><id>213</id><text xml:space="preserve">{|
! Text !! Text !! Text
|-
| foo || bar|| 123
|-
|1
| 2
| 3
|}</text></revision></page>
<page><id>214</id><title>Wikia RTE round-trip test 214</title><revision><id>214</id><text xml:space="preserve">{|
|''foo''
* bar
|}</text></revision></page>
<page><id>215</id><title>Wikia RTE round-trip test 215</title><revision><id>215</id><text xml:space="preserve">{|
|[[foo]]
* bar
|}</text></revision></page>
<page><id>216</id><title>Wikia RTE round-trip test 216</title><revision><id>216</id><text xml:space="preserve">{|
|''foo'' bar
* list item
|}</text></revision></page>
<page><id>217</id><title>Wikia RTE round-trip test 217</title><revision><id>217</id><text xml:space="preserve">{|
|[[foo]]&lt;br /&gt;bar
|}</text></revision></page>
<page><id>218</id><title>Wikia RTE round-trip test 218</title><revision><id>218</id><text xml:space="preserve">{|
|[[foo]]
&lt;br /&gt;bar
|}</text></revision></page>
<page><id>219</id><title>Wikia RTE round-trip test 219</title><revision><id>219</id><text xml:space="preserve">{|
| foo || || bar ||
|}</text></revision></page>
<page><id>220</id><title>Wikia RTE round-trip test 220</title><revision><id>220</id><text xml:space="preserve">&lt;gallery caption=&quot;Sample&quot; widths=&quot;200px&quot; heights=100 perrow=&quot;3&quot; captionalign=&quot;right&quot;&gt;
Spiderpig.jpg
&lt;/gallery&gt;</text></revision></page>
<page><id>221</id><title>Wikia RTE round-trip test 221</title><revision><id>221</id><text xml:space="preserve">{{{text}}}hgjhgjgh{{{text|test}}}
asas</text></revision></page>
<page><id>222</id><title>Wikia RTE round-trip test 222</title><revision><id>222</id><text xml:space="preserve">asdasdasdasd
{{{text|Hmmm... This is a test}}}
asdasd</text></revision></page>
</mediawiki>