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:
ac9d5ac
)
A pair of tests for self links
author
Wil Mahan
<wmahan@users.mediawiki.org>
Wed, 13 Oct 2004 06:09:01 +0000
(06:09 +0000)
committer
Wil Mahan
<wmahan@users.mediawiki.org>
Wed, 13 Oct 2004 06:09:01 +0000
(06:09 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
9e27666
..
f864b1f
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-895,6
+895,27
@@
BUG 2: [[page|http://url/]] should link to page, not http://url/
</p>
!! end
+!! test
+BUG 337: Escaped self-links should be bold
+!! options
+title=[[Bug462]]
+!! input
+[[Bug462]] [[Bug462]]
+!! result
+<p><strong>Bug462</strong> <strong>Bug462</strong>
+</p>
+!! end
+
+!! test
+Self-link to section should not be bold
+!! options
+title=[[Main Page]]
+!! input
+[[Main Page#section]]
+!! result
+<p><a href="/wiki/Main_Page#section" title="Main Page">Main Page#section</a>
+</p>
+!! end
###
### Interwiki links