https://bugzilla.wikimedia.org/show_bug.cgi?id=54027
Brad Jorsch <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy Priority|Unprioritized |Low Severity|normal |enhancement --- Comment #1 from Brad Jorsch <[email protected]> --- Actually, no matter what the sort direction it gives back the types in the order in which they are specified in the cmtype parameter. So if you specify cmtype=subcat|page, you'll get the subcats first. Is there any particular reason the passed list of types should be reversed when cmdir=descending is given? At any rate, this would be easy to do if there's a reason to do it. Just pass $queryTypes through array_reverse() if necessary, somewhere around line 97 in the current version of ApiQueryCategoryMembers.php.[1] [1]: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/a5502893899a3a71fdfa62f4692dea752bef2eee/includes%2Fapi%2FApiQueryCategoryMembers.php#L97 -- 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
