Fix link prefix/suffixes around Category and Language links (take 2).
authorC. Scott Ananian <cscott@cscott.net>
Sun, 13 Aug 2017 18:19:13 +0000 (14:19 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 8 Sep 2017 20:12:21 +0000 (16:12 -0400)
commit6d5fd8077fdbb5d4861395a187fd402cd4da405f
treec2540a35c7edeb65611c2f29a3a61324847d6667
parentd3edceead636d077b5d685a1aa06cd5030e65afd
Fix link prefix/suffixes around Category and Language links (take 2).

Previous attempt was I943cd9bec0855d9a326b0b50739d686a29995370, reverted in
e687f2da3eb5be95855d9aafc53a7524dfaefa34 due to T174639.

There's still a weird behavior with newline stripping between links, which
I'll try to tackle in a follow-on patch (T175416).

Bug: T2087
Bug: T10897
Bug: T87753
Bug: T174639
Change-Id: I8228cdd3b80faf899000adb511a983edc454bc76
includes/parser/Parser.php
tests/parser/parserTests.txt