From: Wil Mahan Date: Thu, 23 Sep 2004 07:36:00 +0000 (+0000) Subject: Magic links, etc. X-Git-Tag: 1.5.0alpha1~1846 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=fb8c86de5e5a96df4378d97f7e4ef5f45a4b0d76;p=lhc%2Fweb%2Fwiklou.git Magic links, etc. --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index c758319cbc..35b9b2715b 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -466,6 +466,10 @@ Piped link to namespace

!! end +# NOTE: it is assumed that [[Category:MediaWiki User's Guide]] exists. It may be necessary to +# create it, because there are no categories in a default MediaWiki installation. Ideally the +# parser tester could create a category for testing purposes; this may be necessary for +# templates anyway. !! test Link to category !! input @@ -498,7 +502,7 @@ Piped link to URL !! input Piped link to URL: [[http://www.example.org|an example URL]] !! result -

Piped link to URL: an example URL +

Piped link to URL: an example URL

!! end @@ -507,7 +511,7 @@ BUG 2: [[page|http://url/]] should link to page, not http://url/ !! input [[Main Page|http://url/]] !! result -

http://url +

http://url/

!! end @@ -621,6 +625,27 @@ Magic variables

!! end +### +### Magic links +### +!! test +Magic links: internal link to RFC +!! input +[[RFC 123]] +!! result +

RFC 123 +

+!! end + +!! test +Magic links: ISBN +!! input +ISBN 0-306-40615-2 +!! result +

ISBN 0-306-40615-2 +

+!! end + ### ### Nonexistant template ### @@ -633,3 +658,8 @@ Nonexistant template

!! end +TODO: +subpages +templates +and much more +