| 1 |
!! options |
| 2 |
parsoid-compatible=wt2html |
| 3 |
version=2 |
| 4 |
!! end |
| 5 |
|
| 6 |
# This is the standard article assumed to exist. |
| 7 |
!! article |
| 8 |
Main Page |
| 9 |
!! text |
| 10 |
blah blah |
| 11 |
!! endarticle |
| 12 |
|
| 13 |
!! test |
| 14 |
Page status indicators: Empty name is invalid |
| 15 |
!! options |
| 16 |
showindicators |
| 17 |
parsoid=wt2html |
| 18 |
!! wikitext |
| 19 |
<indicator name=" "></indicator> |
| 20 |
<indicator></indicator> |
| 21 |
!! html/php |
| 22 |
<p><span class="error"><strong>Error:</strong> Page status indicators' <code>name</code> attribute must not be empty.</span> |
| 23 |
<span class="error"><strong>Error:</strong> Page status indicators' <code>name</code> attribute must not be empty.</span> |
| 24 |
</p> |
| 25 |
!! html/parsoid |
| 26 |
<p><span typeof="mw:I18n mw:Extension/indicator mw:Error" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":""},"body":{"extsrc":""},"errors":[{"key":"invalid-indicator-name"}]}' data-mw-i18n='{"/":{"lang":"x-user","key":"invalid-indicator-name","params":[]}}'></span> |
| 27 |
<span typeof="mw:I18n mw:Extension/indicator mw:Error" about="#mwt4" data-mw='{"name":"indicator","attrs":{},"body":{"extsrc":""},"errors":[{"key":"invalid-indicator-name"}]}' data-mw-i18n='{"/":{"lang":"x-user","key":"invalid-indicator-name","params":[]}}'></span></p> |
| 28 |
!! end |
| 29 |
|
| 30 |
!! test |
| 31 |
Page status indicators: Weird syntaxes that are okay |
| 32 |
!! options |
| 33 |
showindicators |
| 34 |
!! wikitext |
| 35 |
<indicator name="empty" /> |
| 36 |
<indicator name="name"></indicator> |
| 37 |
!! metadata |
| 38 |
empty= |
| 39 |
name= |
| 40 |
!! html/php |
| 41 |
<p><br /> |
| 42 |
</p> |
| 43 |
!! html/parsoid |
| 44 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":"empty"},"html":""}'/> |
| 45 |
<meta typeof="mw:Extension/indicator" about="#mwt4" data-mw='{"name":"indicator","attrs":{"name":"name"},"body":{"extsrc":""},"html":""}'/> |
| 46 |
!! end |
| 47 |
|
| 48 |
!! test |
| 49 |
Page status indicators: Stress test |
| 50 |
!! options |
| 51 |
showindicators |
| 52 |
!! config |
| 53 |
wgParserEnableLegacyMediaDOM=false |
| 54 |
!! wikitext |
| 55 |
<indicator name="01">hello world</indicator> |
| 56 |
<indicator name="02">[[Main Page]]</indicator> |
| 57 |
<indicator name="03">[[File:Foobar.jpg|25px|link=]]</indicator> |
| 58 |
<indicator name="04">[[File:Foobar.jpg|25px]]</indicator> |
| 59 |
<indicator name="05">*foo |
| 60 |
*bar</indicator> |
| 61 |
<indicator name="06"><nowiki>foo</nowiki></indicator> |
| 62 |
<indicator name="07"> Preformatted</indicator> |
| 63 |
<indicator name="08"><div>Broken tag</indicator> |
| 64 |
<indicator name="09">{| class=wikitable |
| 65 |
|cell |
| 66 |
|}</indicator> |
| 67 |
<indicator name="10">Two |
| 68 |
|
| 69 |
paragraphs</indicator> |
| 70 |
!! metadata |
| 71 |
01=hello world |
| 72 |
02=<a href="/wiki/Main_Page" title="Main Page">Main Page</a> |
| 73 |
03=<span typeof="mw:File"><span><img src="http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg" decoding="async" width="25" height="3" class="mw-file-element" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x" /></span></span> |
| 74 |
04=<span typeof="mw:File"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img src="http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg" decoding="async" width="25" height="3" class="mw-file-element" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x" /></a></span> |
| 75 |
05=<ul><li>foo</li> |
| 76 |
<li>bar</li></ul> |
| 77 |
06=foo |
| 78 |
07=<pre>Preformatted |
| 79 |
</pre> |
| 80 |
08=<div>Broken tag</div> |
| 81 |
09=<table class="wikitable"> |
| 82 |
<tbody><tr> |
| 83 |
<td>cell |
| 84 |
</td></tr></tbody></table> |
| 85 |
10=<p>Two |
| 86 |
</p><p>paragraphs |
| 87 |
</p> |
| 88 |
!! metadata/parsoid |
| 89 |
01=hello world |
| 90 |
02=<a rel="mw:WikiLink" href="./Main_Page" title="Main Page" data-parsoid='{"stx":"simple","a":{"href":"./Main_Page"},"sa":{"href":"Main Page"},"dsr":[66,79,2,2]}'>Main Page</a> |
| 91 |
03=<span typeof="mw:File" data-parsoid='{"optList":[{"ck":"width","ak":"25px"},{"ck":"link","ak":"link="}],"dsr":[113,143,null,null]}'><span data-parsoid="{}"><img resource="./File:Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg" decoding="async" data-file-width="1941" data-file-height="220" data-file-type="bitmap" height="3" width="25" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x" class="mw-file-element" data-parsoid='{"a":{"resource":"./File:Foobar.jpg","height":"3","width":"25"},"sa":{"resource":"File:Foobar.jpg"}}'/></span></span> |
| 92 |
04=<span typeof="mw:File" data-parsoid='{"optList":[{"ck":"width","ak":"25px"}],"dsr":[177,201,null,null]}'><a href="./File:Foobar.jpg" class="mw-file-description" data-parsoid="{}"><img resource="./File:Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg" decoding="async" data-file-width="1941" data-file-height="220" data-file-type="bitmap" height="3" width="25" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x" class="mw-file-element" data-parsoid='{"a":{"resource":"./File:Foobar.jpg","height":"3","width":"25"},"sa":{"resource":"File:Foobar.jpg"}}'/></a></span> |
| 93 |
05=<ul data-parsoid='{"dsr":[235,244,0,0]}'><li data-parsoid='{"dsr":[235,239,1,0]}'>foo</li> |
| 94 |
<li data-parsoid='{"dsr":[240,244,1,0]}'>bar</li></ul> |
| 95 |
06=<span typeof="mw:Nowiki" data-parsoid='{"dsr":[278,298,8,9]}'>foo</span> |
| 96 |
07=<pre data-parsoid='{"dsr":[0,345,1,0]}'>Preformatted</pre> |
| 97 |
08=<div data-parsoid='{"stx":"html","autoInsertedEnd":true,"dsr":[379,394,5,0]}'>Broken tag</div> |
| 98 |
09=<table class="wikitable" data-parsoid='{"dsr":[428,455,18,2]}'> |
| 99 |
<tbody data-parsoid='{"dsr":[447,453,0,0]}'><tr data-parsoid='{"autoInsertedStart":true,"dsr":[447,452,0,0]}'><td data-parsoid='{"dsr":[447,452,1,0]}'>cell</td></tr> |
| 100 |
</tbody></table> |
| 101 |
10=<p data-parsoid='{"dsr":[489,492,0,0]}'>Two</p> |
| 102 |
|
| 103 |
<p data-parsoid='{"dsr":[494,504,0,0]}'>paragraphs</p> |
| 104 |
!! html/php |
| 105 |
<p><br /> |
| 106 |
</p><p><br /> |
| 107 |
</p><p><br /> |
| 108 |
</p><p><br /> |
| 109 |
</p><p><br /> |
| 110 |
</p> |
| 111 |
!! html/parsoid |
| 112 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":"01"},"body":{"extsrc":"hello world"},"html":"hello world"}'/> |
| 113 |
<meta typeof="mw:Extension/indicator" about="#mwt4" data-mw='{"name":"indicator","attrs":{"name":"02"},"body":{"extsrc":"[[Main Page]]"},"html":"<a rel=\"mw:WikiLink\" href=\"./Main_Page\" title=\"Main Page\">Main Page</a>"}'/> |
| 114 |
<meta typeof="mw:Extension/indicator" about="#mwt6" data-mw='{"name":"indicator","attrs":{"name":"03"},"body":{"extsrc":"[[File:Foobar.jpg|25px|link=]]"},"html":"<span typeof=\"mw:File\"><span><img resource=\"./File:Foobar.jpg\" src=\"http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\" decoding=\"async\" data-file-width=\"1941\" data-file-height=\"220\" data-file-type=\"bitmap\" height=\"3\" width=\"25\" srcset=\"http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x\" class=\"mw-file-element\"/></span></span>"}'/> |
| 115 |
<meta typeof="mw:Extension/indicator" about="#mwt8" data-mw='{"name":"indicator","attrs":{"name":"04"},"body":{"extsrc":"[[File:Foobar.jpg|25px]]"},"html":"<span typeof=\"mw:File\"><a href=\"./File:Foobar.jpg\" class=\"mw-file-description\"><img resource=\"./File:Foobar.jpg\" src=\"http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\" decoding=\"async\" data-file-width=\"1941\" data-file-height=\"220\" data-file-type=\"bitmap\" height=\"3\" width=\"25\" srcset=\"http://example.com/images/thumb/3/3a/Foobar.jpg/38px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/50px-Foobar.jpg 2x\" class=\"mw-file-element\"/></a></span>"}'/> |
| 116 |
<meta typeof="mw:Extension/indicator" about="#mwt10" data-mw='{"name":"indicator","attrs":{"name":"05"},"body":{"extsrc":"*foo\n*bar"},"html":"<ul><li>foo</li>\n<li>bar</li></ul>"}'/> |
| 117 |
<meta typeof="mw:Extension/indicator" about="#mwt13" data-mw='{"name":"indicator","attrs":{"name":"06"},"body":{"extsrc":"<nowiki>foo</nowiki>"},"html":"<span typeof=\"mw:Nowiki\">foo</span>"}'/> |
| 118 |
<meta typeof="mw:Extension/indicator" about="#mwt15" data-mw='{"name":"indicator","attrs":{"name":"07"},"body":{"extsrc":" Preformatted"},"html":"<pre>Preformatted</pre>"}'/> |
| 119 |
<meta typeof="mw:Extension/indicator" about="#mwt17" data-mw='{"name":"indicator","attrs":{"name":"08"},"body":{"extsrc":"<div>Broken tag"},"html":"<div>Broken tag</div>"}'/> |
| 120 |
<meta typeof="mw:Extension/indicator" about="#mwt19" data-mw='{"name":"indicator","attrs":{"name":"09"},"body":{"extsrc":"{| class=wikitable\n|cell\n|}"},"html":"<table class=\"wikitable\">\n<tbody><tr><td>cell</td></tr>\n</tbody></table>"}'/> |
| 121 |
<meta typeof="mw:Extension/indicator" about="#mwt21" data-mw='{"name":"indicator","attrs":{"name":"10"},"body":{"extsrc":"Two\n\nparagraphs"},"html":"<p>Two</p>\n\n<p>paragraphs</p>"}'/> |
| 122 |
!! end |
| 123 |
|
| 124 |
!! test |
| 125 |
Decoding of HTML entities in indicator names for IDs (T104196) |
| 126 |
!! options |
| 127 |
parsoid=wt2html,html2html |
| 128 |
showindicators |
| 129 |
!! wikitext |
| 130 |
<indicator name="1&2&3&amp;4&amp;amp;5">Indicator</indicator> |
| 131 |
!! metadata |
| 132 |
1&2&3&4&amp;5=Indicator |
| 133 |
!! html/php |
| 134 |
!! html/parsoid |
| 135 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":"1&2&3&amp;4&amp;amp;5"},"body":{"extsrc":"Indicator"},"html":"Indicator"}'/> |
| 136 |
!! end |
| 137 |
|
| 138 |
# this version of the test strips out the ambiguity so Parsoid rts cleanly |
| 139 |
!! test |
| 140 |
Decoding of HTML entities in indicator names for IDs (unambiguous) (T104196) |
| 141 |
!! options |
| 142 |
showindicators |
| 143 |
!! wikitext |
| 144 |
<indicator name="1&2&3&amp;4&amp;amp;5">Indicator</indicator> |
| 145 |
!! metadata |
| 146 |
1&2&3&4&amp;5=Indicator |
| 147 |
!! html/php |
| 148 |
!! html/parsoid |
| 149 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":"1&2&3&amp;4&amp;amp;5"},"body":{"extsrc":"Indicator"},"html":"Indicator"}'/> |
| 150 |
!! end |
| 151 |
|
| 152 |
!! test |
| 153 |
Indicators with duplicate names: Last one wins |
| 154 |
!! options |
| 155 |
showindicators |
| 156 |
!! wikitext |
| 157 |
<indicator name="x">foo</indicator> |
| 158 |
<indicator name="x">bar</indicator> |
| 159 |
!! metadata |
| 160 |
x=bar |
| 161 |
!! html/php |
| 162 |
<p><br /> |
| 163 |
</p> |
| 164 |
!! html/parsoid |
| 165 |
<meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo"}'/> |
| 166 |
<meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"bar"},"html":"bar"}'/> |
| 167 |
!! end |
| 168 |
|
| 169 |
!! article |
| 170 |
Template:1x |
| 171 |
!! text |
| 172 |
{{{1}}} |
| 173 |
!! endarticle |
| 174 |
|
| 175 |
!! test |
| 176 |
Templates where an indicator is the leading content (1) |
| 177 |
!! options |
| 178 |
showindicators |
| 179 |
parsoid=wt2html,wt2wt |
| 180 |
!! metadata |
| 181 |
x=foo |
| 182 |
!! wikitext |
| 183 |
abcd |
| 184 |
{{1x|<indicator name="x">foo</indicator>}} |
| 185 |
!! html/php |
| 186 |
<p>abcd |
| 187 |
</p> |
| 188 |
!! html/parsoid |
| 189 |
<p>abcd</p> |
| 190 |
<meta typeof="mw:Extension/indicator mw:Transclusion" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo","parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"<indicator name=\"x\">foo</indicator>"}},"i":0}}]}'/> |
| 191 |
!! end |
| 192 |
|
| 193 |
!! test |
| 194 |
Templates where an indicator is the leading content (2) |
| 195 |
!! options |
| 196 |
showindicators |
| 197 |
parsoid=wt2html,wt2wt |
| 198 |
!! metadata |
| 199 |
x=foo |
| 200 |
!! wikitext |
| 201 |
abcd |
| 202 |
<indicator name="x">bar</indicator> |
| 203 |
{{1x|<indicator name="x">foo</indicator>}} |
| 204 |
!! html/php |
| 205 |
<p>abcd |
| 206 |
</p><p><br /> |
| 207 |
</p> |
| 208 |
!! html/parsoid |
| 209 |
<p>abcd |
| 210 |
<meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"bar"},"html":"bar"}'/></p> |
| 211 |
<meta typeof="mw:Extension/indicator mw:Transclusion" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo","parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"<indicator name=\"x\">foo</indicator>"}},"i":0}}]}'/> |
| 212 |
!! end |
| 213 |
|
| 214 |
!! test |
| 215 |
Templates where an indicator is not the leading content (1) |
| 216 |
!! options |
| 217 |
showindicators |
| 218 |
parsoid=wt2html,wt2wt |
| 219 |
!! metadata |
| 220 |
x=foo |
| 221 |
!! wikitext |
| 222 |
abcd |
| 223 |
{{1x|efgh<indicator name="x">foo</indicator>}} |
| 224 |
!! html/php |
| 225 |
<p>abcd |
| 226 |
efgh |
| 227 |
</p> |
| 228 |
!! html/parsoid |
| 229 |
<p>abcd |
| 230 |
<span typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"efgh<indicator name=\"x\">foo</indicator>"}},"i":0}}]}'>efgh</span><meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo"}'/></p> |
| 231 |
!! end |
| 232 |
|
| 233 |
!! test |
| 234 |
Templates where an indicator is not the leading content (2) |
| 235 |
!! options |
| 236 |
showindicators |
| 237 |
parsoid=wt2html,wt2wt |
| 238 |
!! metadata |
| 239 |
x=foo |
| 240 |
!! wikitext |
| 241 |
abcd |
| 242 |
<indicator name="x">bar</indicator> |
| 243 |
{{1x|efgh<indicator name="x">foo</indicator>}} |
| 244 |
!! html/php |
| 245 |
<p>abcd |
| 246 |
</p><p>efgh |
| 247 |
</p> |
| 248 |
!! html/parsoid |
| 249 |
<p>abcd |
| 250 |
<meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"bar"},"html":"bar"}'/> <span typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"efgh<indicator name=\"x\">foo</indicator>"}},"i":0}}]}'>efgh</span><meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo"}'/></p> |
| 251 |
!! end |
| 252 |
|
| 253 |
# Note wt2wt will dirty this output and hence all selser tests |
| 254 |
# will be recorded as failing because selser is more accurate |
| 255 |
!! test |
| 256 |
Indicator in fosterable position should not dirty-diff in selser mode |
| 257 |
!! options |
| 258 |
parsoid=wt2html,selser |
| 259 |
!! wikitext |
| 260 |
{| |
| 261 |
<indicator name='x'>foo</indicator> |
| 262 |
|x |
| 263 |
|} |
| 264 |
!! html/parsoid |
| 265 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-parsoid='{"fostered":true}' data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"foo"},"html":"foo"}'/><table> |
| 266 |
|
| 267 |
<tbody><tr><td>x |
| 268 |
</td></tr></tbody></table> |
| 269 |
!! end |
| 270 |
|
| 271 |
!! test |
| 272 |
Indicator with comments should not be <p>-wrapped |
| 273 |
!! options |
| 274 |
showindicators |
| 275 |
!! metadata |
| 276 |
x=<span>some stuff</span> |
| 277 |
!! metadata/parsoid |
| 278 |
x=<!-- hello --> |
| 279 |
<span data-parsoid='{"stx":"html","dsr":[35,58,6,7]}'>some stuff</span> |
| 280 |
<!-- second comment--> |
| 281 |
!! wikitext |
| 282 |
<indicator name="x"><!-- hello --> |
| 283 |
<span>some stuff</span> |
| 284 |
<!-- second comment--></indicator> |
| 285 |
!! html/php |
| 286 |
!! html/parsoid |
| 287 |
<meta typeof="mw:Extension/indicator" about="#mwt2" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"<!-- hello -->\n<span>some stuff</span>\n<!-- second comment-->"},"html":"<!-- hello -->\n<span data-parsoid='{\"stx\":\"html\",\"dsr\":[35,58,6,7]}'>some stuff</span>\n<!-- second comment-->"}'/> |
| 288 |
!! end |
| 289 |
|
| 290 |
!! test |
| 291 |
Indicator shouldn't prevent empty elt class |
| 292 |
!! options |
| 293 |
showindicators |
| 294 |
!! wikitext |
| 295 |
<nowiki/><indicator name="x"> |
| 296 |
<span>some stuff</span> |
| 297 |
</indicator><nowiki/> |
| 298 |
!! metadata/php |
| 299 |
x=<span>some stuff</span> |
| 300 |
!! html/php |
| 301 |
<p class="mw-empty-elt"> |
| 302 |
</p> |
| 303 |
!! metadata/parsoid |
| 304 |
x= |
| 305 |
<span data-parsoid='{"stx":"html","dsr":[30,53,6,7]}'>some stuff</span> |
| 306 |
|
| 307 |
!! html/parsoid |
| 308 |
<p class="mw-empty-elt"><span typeof="mw:Nowiki"></span><meta typeof="mw:Extension/indicator" about="#mwt4" data-mw='{"name":"indicator","attrs":{"name":"x"},"body":{"extsrc":"\n<span>some stuff</span>\n"},"html":"\n<span data-parsoid='{\"stx\":\"html\",\"dsr\":[31,54,6,7]}'>some stuff</span>\n"}'/><span typeof="mw:Nowiki"></span></p> |
| 309 |
!! end |
| 310 |
|
| 311 |
!! test |
| 312 |
Indicator shouldn't prevent addition of link classes |
| 313 |
!! options |
| 314 |
showindicators |
| 315 |
!! wikitext |
| 316 |
<indicator name="link">[http://www.example.com Example]</indicator> |
| 317 |
!! metadata/php |
| 318 |
link=<a rel="nofollow" class="external text" href="http://www.example.com">Example</a> |
| 319 |
!! metadata/parsoid |
| 320 |
link=<a rel="mw:ExtLink nofollow" href="http://www.example.com" class="external text" data-parsoid='{"dsr":[23,55,24,1]}'>Example</a> |
| 321 |
!! html/php |
| 322 |
!! html/parsoid |
| 323 |
<meta typeof="mw:Extension/indicator" data-mw='{"name":"indicator","attrs":{"name":"link"},"body":{"extsrc":"[http://www.example.com Example]"},"html":"<a rel=\"mw:ExtLink nofollow\" href=\"http://www.example.com\" class=\"external text\">Example</a>"}'/> |
| 324 |
!! end |
| 325 |
|