* (bug 27473) Fix regression: bold, italic no longer interfere with linktrail for...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Apr 2011 21:11:49 +0000 (21:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Apr 2011 21:11:49 +0000 (21:11 +0000)
commitfcbd1134c66edb5c1eb80886b6f5841d3cfed061
tree2e57ed72b6664171e08f0b2263db4cbfcec66c6c
parent4e9b2c5c5341be17a88a2d9f3c69d1a34093c4b9
* (bug 27473) Fix regression: bold, italic no longer interfere with linktrail for ca, kaa

Patch to ca, kaa linktrails to exclude multiple apostrophes by Platonides: https://bugzilla.wikimedia.org/attachment.cgi?id=8337

Added parser test cases to confirm that the linktrail apostrophe works on those languages, and to confirm that the bug where a link is surrounded by bold or italics is resolved.

Tweaked Linker::splitTrail() to keep it from permanently caching $wgContLang's linktrail; when we change content languages during a script run as we do with parser tests, that was leaving us stuck forever on English's linktrail.
This may slightly slow down that path, since it'll have to make a couple brief function calls into the Language object and its data cache.
RELEASE-NOTES
includes/Linker.php
languages/messages/MessagesCa.php
languages/messages/MessagesKaa.php
tests/parser/parserTests.txt