Fix parserTests regression introduced in r17479.
authorNick Jenkins <nickj@users.mediawiki.org>
Wed, 8 Nov 2006 06:03:01 +0000 (06:03 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Wed, 8 Nov 2006 06:03:01 +0000 (06:03 +0000)
commit332eed5df0768fb4a9e5c4a4afa43a632f3539a4
tree4414563e1d5760f77a4f0725b426f6dd04bbdf6c
parentfa239349f2d5d4456c45efae16d1673d6472e165
Fix parserTests regression introduced in r17479.

Example of failing test:
----------------------
Running test Magic links: RFC (bug 479)... FAILED!
--- /tmp/mwParser-1109840392-expected   2006-11-08 05:39:04.000000000 +0000
+++ /tmp/mwParser-1109840392-actual     2006-11-08 05:39:04.000000000 +0000
@@ -1,2 +1,2 @@
-<p><a href="http://www.ietf.org/rfc/rfc822.txt" class="external" title="http://www.ietf.org/rfc/rfc822.txt">RFC 822</a>
+<p><a href="http://www.ietf.org/rfc/rfc822.txt" class="external " title="http://www.ietf.org/rfc/rfc822.txt" rel="nofollow">RFC 822</a>
 </p>
----------------------

Also applied to the "BUG 1887: A RFC with a thumbnail" and "RFC code coverage" tests.
includes/Linker.php
includes/Parser.php