[16:57:04] tgr: bearND uncovered an interesting bug in the browser extension [16:57:21] namely, that it might take a continuation query to /data/lists/ in order to receive the default list info [16:57:28] i've never had enough lists to run into that case [16:58:24] i'm wondering whether it makes more sense to add a continuation loop into the extension, or to update the REST endpoints (and probably the MW extension) to get default list info directly [16:58:46] bearND was thinking that adding more sort order provisions in the REST endpoints would be helpful as well [16:58:56] what do you think? [17:00:13] na, I take the sort order idea back. It's sorted by last modified so that doesn't fix it for all cases [17:02:52] mdholloway: I think coding the continuation should be fine. A bigger batch size than 10 would help. [17:03:02] sort by creation date would be more helpful [17:03:09] in this case, anyway [17:03:11] yeah [17:03:43] yeah, bigger batch size would be helpful as well. i guess we'll need to provide for continuation in any case, though. [17:04:44] having a small batch size is nice for testing but not so much for production [17:05:10] mdholloway|brb: could add a filter parameter for getting the default list only [17:09:11] limits come from https://phabricator.wikimedia.org/T164990#3264314 [17:23:55] mdholloway|brb: BTW, I just reduced my number of lists to 10. Now I'm getting "Failed to add page: Invalid CSRF token." [17:24:55] Trying to log out and back i didn't help. [17:39:39] bearND: ugh, i haven't run into that one in the extension, either, but i do when using Postman sometimes. clearing your cookies should resolve the issue. [17:53:33] i guess my question is whether it's worth adding code especially aimed at providing the default list, or if it's an issue so specific to this browser extension that it's better off just working around it internally. my sense is that it's the latter. [18:01:17] bearND: would you mind filing a phab task about it (with possible repro steps, if you have any)? sadly i don't think i'll have time to investigate or fix the cookies issue before i leave. [18:01:41] i'm going to try to tackle list query continuation now though [18:01:53] mdholloway: will do. [18:01:58] bearND: thank you