dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0957e88
)
Some parser tests to go with r19397
author
Rob Church
<robchurch@users.mediawiki.org>
Wed, 17 Jan 2007 19:48:37 +0000
(19:48 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Wed, 17 Jan 2007 19:48:37 +0000
(19:48 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
3d748ae
..
8c7a2ee
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-1470,6
+1470,34
@@
title=[[Main Page]]
</p>
!! end
+!! article
+00
+!! text
+This is 00.
+!! endarticle
+
+!!test
+Self-link to numeric title
+!!options
+title=[[0]]
+!!input
+[[0]]
+!!result
+<p><strong class="selflink">0</strong>
+</p>
+!!end
+
+!!test
+Link to numeric-equivalent title
+!!options
+title=[[0]]
+!!input
+[[00]]
+!!result
+<p><a href="/wiki/00" title="00">00</a>
+</p>
+!!end
+
!! test
<nowiki> inside a link
!! input