Last modified: 2014-11-12 20:08:31 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 T75323, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73323 - API should preserve the order of pages from generator
API should preserve the order of pages from generator
Status: RESOLVED DUPLICATE of bug 14859
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-12 19:57 UTC by Max Semenik
Modified: 2014-11-12 20:08 UTC (History)
5 users (show)

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


Attachments

Description Max Semenik 2014-11-12 19:57:01 UTC
Compare https://en.wikipedia.org/w/api.php?action=query&prop=info&format=jsonfm&generator=search&gsrsearch=blue&gsrwhat=text and https://en.wikipedia.org/w/api.php?action=query&list=search&format=jsonfm&srsearch=blue&srwhat=text

The API reorders the results by page title due to batch title check and as a result of this, if the order matters (list=search, list=prefixsearch), you have to resort to fragile kludges like list=search&generator=search which is also slower.
Comment 1 Brad Jorsch 2014-11-12 20:08:31 UTC

*** This bug has been marked as a duplicate of bug 14859 ***

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


Navigation
Links