https://bugzilla.wikimedia.org/show_bug.cgi?id=73323

            Bug ID: 73323
           Summary: API should preserve the order of pages from generator
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to