(bug 27965) Paging in list=categorymembers was completely broken. It was paging by...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 13 Mar 2011 10:39:57 +0000 (10:39 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 13 Mar 2011 10:39:57 +0000 (10:39 +0000)
commit64d9832d1f19f4daca80910a62d309785b2d5571
treea4156e19db34ec54b8d560cb5bc8f3bf1556c1ec
parent6b97290b049829884e151e0b417d36b69556ccc0
(bug 27965) Paging in list=categorymembers was completely broken. It was paging by cl_from alone, while the index is on (cl_to, cl_type, cl_sortkey, cl_from) and only cl_to is constant. Fixed by paging on (type, sortkey, from), but using type|from|sortkey for clcontinue so any pipe characters in the sortkey are easier to handle. This needs the schema change in r83812 to work correctly, otherwise rows with cl_type=file will be skipped in certain cases.
includes/api/ApiQueryCategoryMembers.php