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:
e7bf509
)
Add some parser tests for URL-encoding in URL functions. The second case could be...
author
Rob Church
<robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 20:15:33 +0000
(20:15 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 20:15:33 +0000
(20:15 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
1df9c3f
..
0a2951a
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-983,7
+983,23
@@
External link containing double-single-quotes in text embedded in italics (bug 4
</p>
!! end
+!! test
+URL-encoding in URL functions (single parameter)
+!! input
+{{localurl:Some page|amp=&}}
+!! result
+<p>/index.php?title=Some_page&amp=%26
+</p>
+!! end
+!! test
+URL-encoding in URL functions (multiple parameters)
+!! input
+{{localurl:Some page|q=?&=&}}
+!! result
+<p>/index.php?title=Some_page&q=%3F&amp=%26
+</p>
+!! end
###
### Quotes