From: Wil Mahan
Date: Wed, 13 Oct 2004 06:09:01 +0000 (+0000)
Subject: A pair of tests for self links
X-Git-Tag: 1.5.0alpha1~1570
X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=8709bb64feb6655a94a868ebf27e02af462b5394;p=lhc%2Fweb%2Fwiklou.git
A pair of tests for self links
---
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index 9e27666b8c..f864b1f4f5 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -895,6 +895,27 @@ BUG 2: [[page|http://url/]] should link to page, not http://url/
!! end
+!! test
+BUG 337: Escaped self-links should be bold
+!! options
+title=[[Bug462]]
+!! input
+[[Bug462]] [[Bug462]]
+!! result
+Bug462 Bug462
+
+!! end
+
+!! test
+Self-link to section should not be bold
+!! options
+title=[[Main Page]]
+!! input
+[[Main Page#section]]
+!! result
+Main Page#section
+
+!! end
###
### Interwiki links