API: Improve handling of interwiki redirects when resolving
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 29 Dec 2014 17:50:50 +0000 (12:50 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 7 Jan 2015 20:49:35 +0000 (15:49 -0500)
commitc515d0228f8b4c4cdef7ac40da3c70217cc61db9
tree7e0529c8b97c26845310134ef8e0a06303a37696
parent1fc666a0c4941d84840aecf571d03bc18eed9796
API: Improve handling of interwiki redirects when resolving

When ApiPageSet resolves redirects, it should add the targets of any
interwiki redirects to its list of interwiki titles.

Also, when outputting the list of redirects it may as well include a
'tointerwiki' property to match the 'tofragment' property it already
outputs.

Bug: T85417
Change-Id: Icf1346f52c8efa099b502433de1b18c4caad09df
RELEASE-NOTES-1.25
includes/api/ApiPageSet.php