Index: trunk/extensions/Cite/citeParserTests.txt |
— | — | @@ -118,3 +118,21 @@ |
119 | 119 | <ol class="references"><li id="_note-0"><a href="#_ref-0" title="">↑</a> one</li></ol> |
120 | 120 | |
121 | 121 | !! 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 |