Make multiple colons escaping interlanguage links invalid, consistently
authorArlo Breault <abreault@wikimedia.org>
Mon, 26 Jun 2017 23:20:31 +0000 (19:20 -0400)
committerArlo Breault <abreault@wikimedia.org>
Thu, 6 Jul 2017 21:09:25 +0000 (17:09 -0400)
commit0e1b52a40e15f229e4920945350b77ce09b1c9b2
tree41f01b92567963acc8b28641afcc38001f9e911b
parent438df08478794114e7f40a5b62f09ca9ef21e880
Make multiple colons escaping interlanguage links invalid, consistently

 * Right now, one or two are permitted.  This patch limits it to one.
   The current behaviour seems more a byproduct of refactoring than an
   explicit goal.

 * Note that this will break links on a handful of pages surfaced in
   Parsoid's roundtrip testing.

Change-Id: Icabd34bbf15781bb891bd8e0c079d1a65eb28595
includes/parser/Parser.php
includes/title/MediaWikiTitleCodec.php
tests/parser/parserTests.txt