Last modified: 2014-03-04 05:46:41 UTC
list=search doesn't show interwiki results when they exist. It should.
What sort of structure should this look like in the output?
Right now we've got: <query> <searchinfo totalhits="3"/> <search> <p ns="0" title="foo" etc etc /> <p /> <p /> </search> </query> Since we only expose titles to the IW search, maybe we could do something like: <query> <searchinfo totalhits="3"/> <search> <p ns="0" title="foo" etc etc /> <p /> <p /> </search> <interwikiinfo "totalhits="3"/> <interwiki> <iw prefix="wikipedia" url="..."> <p ns="0" title="foo" /> <p ns="2" title="bar" /> </iw> </interwiki> </query>
Change 112913 had a related patch set uploaded by Chad: WIP: Support interwiki searches in API https://gerrit.wikimedia.org/r/112913
Change 112913 merged by jenkins-bot: Support interwiki searches in API https://gerrit.wikimedia.org/r/112913