Change example noted by Brion--I think the current output is
authorWil Mahan <wmahan@users.mediawiki.org>
Fri, 24 Sep 2004 18:36:17 +0000 (18:36 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Fri, 24 Sep 2004 18:36:17 +0000 (18:36 +0000)
arguably correct, albeit not very useful. At the moment 71 of 71
tests pass!

maintenance/parserTests.txt

index 7535ac4..8bb33fe 100644 (file)
@@ -661,12 +661,20 @@ Plain link to URL
 # I'm fairly sure the expected result here is wrong.
 # We want these to be URL links, not pseudo-pages with URLs for titles....
 # However the current output is also pretty screwy.
+#
+# ----
+# I'm changing it to match the current output--it arguably makes more
+# sense in the light of the test above. Old expected result was:
+#<p>Piped link to URL: <a href="/index.php?title=Http://www.example.org&amp;action=edit" class="new" title="Http://www.example.org">an example URL</a>
+#</p>
+# But I think this test is bordering on "garbage in, garbage out" anyway.
+# -- wtm
 !! test
 Piped link to URL
 !! input
 Piped link to URL: [[http://www.example.org|an example URL]]
 !! result
-<p>Piped link to URL: <a href="/index.php?title=Http://www.example.org&amp;action=edit" class="new" title="Http://www.example.org">an example URL</a>
+<p>Piped link to URL: [<a href="http://www.example.org|an" class='external' title="http://www.example.org|an">example URL</a><span class='urlexpansion'> (<i>http://www.example.org|an</i>)</span>]
 </p>
 !! end