r33573 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33572‎ | r33573 | r33574 >
Date:22:48, 18 April 2008
Author:brion
Status:old
Tags:
Comment:
update parser test case results with current message value
Modified paths:
  • /trunk/extensions/Cite/citeParserTests.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/citeParserTests.txt
@@ -226,18 +226,24 @@
227227
228228 <references />
229229 !! result
230 -<p><strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag; name cannot be a simple integer, use a descriptive title</strong>
 230+<p><strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag;
 231+name cannot be a simple integer. Use a descriptive title</strong>
231232 </p><p><sup id="cite_ref-0" class="reference"><a href="#cite_note-0" title="">[1]</a></sup>
232 -</p><p><strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag; refs with no content must have a name</strong>
 233+</p><p><strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag;
 234+refs with no content must have a name</strong>
233235 </p><p><sup id="cite_ref-bar_1-0" class="reference"><a href="#cite_note-bar-1" title="">[2]</a></sup>
234236 </p><p><sup id="cite_ref-blankwithnoreference_2-0" class="reference"><a href="#cite_note-blankwithnoreference-2" title="">[3]</a></sup>
235 -</p><p><strong class="error">Cite error: Invalid <code>&lt;references&gt;</code> tag; no input is allowed, use
236 -<code>&lt;references /&gt;</code></strong>
237 -</p><p><strong class="error">Cite error: Invalid <code>&lt;references&gt;</code> tag; no parameters are allowed, use <code>&lt;references /&gt;</code></strong>
 237+</p><p><strong class="error">Cite error: Invalid <code>&lt;references&gt;</code> tag;
 238+no input is allowed. Use <code>&lt;references /&gt;</code></strong>
 239+</p><p><strong class="error">Cite error: Invalid <code>&lt;references&gt;</code> tag;
 240+no parameters are allowed.
 241+Use <code>&lt;references /&gt;</code></strong>
238242 </p>
239243 <ol class="references"><li id="cite_note-0"><a href="#cite_ref-0" title="">↑</a> Also zero, but differently! (Normal ref)</li>
240 -<li id="cite_note-bar"><a href="#cite_ref-bar_0" title="">↑</a> <strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag; no text was provided for refs named <code>bar</code></strong></li>
241 -<li id="cite_note-blankwithnoreference"><a href="#cite_ref-blankwithnoreference_0" title="">↑</a> <strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag; no text was provided for refs named <code>blankwithnoreference</code></strong></li></ol>
 244+<li id="cite_note-bar"><a href="#cite_ref-bar_0" title="">↑</a> <strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag;
 245+no text was provided for refs named <code>bar</code></strong></li>
 246+<li id="cite_note-blankwithnoreference"><a href="#cite_ref-blankwithnoreference_0" title="">↑</a> <strong class="error">Cite error: Invalid <code>&lt;ref&gt;</code> tag;
 247+no text was provided for refs named <code>blankwithnoreference</code></strong></li></ol>
242248
243249 !! end
244250

Status & tagging log