From 8709bb64feb6655a94a868ebf27e02af462b5394 Mon Sep 17 00:00:00 2001 From: Wil Mahan Date: Wed, 13 Oct 2004 06:09:01 +0000 Subject: [PATCH] A pair of tests for self links --- maintenance/parserTests.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -- 2.20.1