r15501 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15500‎ | r15501 | r15502 >
Date:17:59, 10 July 2006
Author:brion
Status:old
Tags:
Comment:
Add parser test for bug 6299
Modified paths:
  • /trunk/extensions/Cite/citeParserTests.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/citeParserTests.txt
@@ -118,3 +118,21 @@
119119 <ol class="references"><li id="_note-0"><a href="#_ref-0" title="">↑</a> one</li></ol>
120120
121121 !! end
 122+
 123+!! test
 124+{{REVISIONID}} on page with <ref> (bug 6299)
 125+!! input
 126+{{REVISIONID}}<ref>elite</ref>
 127+!! result
 128+<p>1337<sup id="_ref-0" class="reference"><a href="#_note-0" title="">[1]</a></sup>
 129+</p>
 130+!! end
 131+
 132+!! test
 133+{{REVISIONID}} on page without <ref> (bug 6299 sanity check)
 134+!! input
 135+{{REVISIONID}}
 136+!! result
 137+<p>1337
 138+</p>
 139+!! end

Follow-up revisions

RevisionCommit summaryAuthorDate
r15507* (bug 6299) Maintain parser's revision ID across recursive calls to fix...brion18:25, 10 July 2006