Correctly handle <abbr> followed by ISBN
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 24 Mar 2010 13:42:37 +0000 (13:42 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 24 Mar 2010 13:42:37 +0000 (13:42 +0000)
commit759db54cc2972f131d7673c833df80694f8baf5b
treee5ca8641ae30e6abb480c9eaabc71c975cf813ea
parent0400c49ea2f06c7cd7a4f3cc4327fe827bc4e15a
Correctly handle <abbr> followed by ISBN

Bug 22905.  Patch based on one submitted by Solitarius.  Basically, we
were assuming that anything matching <a.*?</a> was a link and ignoring
it so as to avoid nested links, but that matched the HTML from

<abbr>(fr)</abbr> ISBN 2753300917 [http://www.example.com example.com]

so the ISBN didn't work.  Parser test committed, fails without the
Parser.php change.
CREDITS
RELEASE-NOTES
includes/parser/Parser.php
maintenance/parserTests.txt