No interlanguage links after local interwiki prefixes
authorThis, that and the other <at.light@live.com.au>
Mon, 21 Jul 2014 02:35:50 +0000 (12:35 +1000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 13:01:07 +0000 (15:01 +0200)
commite349358a5da3def796b92f9092fd28c8987bc23f
treee632ac682d5b5d89e0e0a700a3446b966c6cb906
parentd3e26d290679cd0eb0862c4ebac4898e5da41a91
No interlanguage links after local interwiki prefixes

This was noticed on enwiki after w: was marked as a local interwiki prefix
there. Links like [[w:de:Foo]] ought to act like [[:de:Foo]], not
[[de:Foo]].

Also adding a number of additional parser tests related to interwiki links.

Bug: 68085
Change-Id: If39af06edb4af2da85c9bcf43df7088181809fcf
RELEASE-NOTES-1.24
includes/parser/Parser.php
tests/parser/parserTest.inc
tests/parser/parserTests.txt
tests/phpunit/includes/parser/NewParserTest.php