Last modified: 2014-03-04 05:46:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62975, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60975 - Expose interwiki search results in API
Expose interwiki search results in API
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-06 18:22 UTC by Chad H.
Modified: 2014-03-04 05:46 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2014-02-06 18:22:22 UTC
list=search doesn't show interwiki results when they exist. It should.
Comment 1 Brion Vibber 2014-02-07 16:45:08 UTC
What sort of structure should this look like in the output?
Comment 2 Chad H. 2014-02-07 17:41:32 UTC
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>
Comment 3 Gerrit Notification Bot 2014-02-12 17:31:11 UTC
Change 112913 had a related patch set uploaded by Chad:
WIP: Support interwiki searches in API

https://gerrit.wikimedia.org/r/112913
Comment 4 Gerrit Notification Bot 2014-02-26 18:04:00 UTC
Change 112913 merged by jenkins-bot:
Support interwiki searches in API

https://gerrit.wikimedia.org/r/112913

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links