[12:00:27] i'm trying to test a script on a local wiki, and it makes a mw.ForeignApi call to Commons in some cases, but that fails due to CORS and credentials [12:01:00] i have set origin: '*' and the reponse is, indeed, Access-Control-Allow-Credentials: false [12:01:32] is there something else I need to do here? [12:03:43] are you trying to do anonymous CORS or authenticated [12:04:11] i guess anonymous, since origin: '*' [12:04:57] I am just using mw.ForeignApi like the first example at https://www.mediawiki.org/wiki/Manual:CORS [12:05:40] and what endpoint are you calling? [12:06:11] Api.get() with { action: parse } [12:06:28] (specifically i want the extlinks|iwlinks) [12:14:53] inductiveload: set {anonymous:true} option when instantiating mw.ForeignApi [12:15:16] https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.ForeignApi [12:17:31] aha, that makes sense [12:23:21] does that sound sane? https://www.mediawiki.org/wiki/Manual:CORS#Anonymous_requests [12:26:44] yeah, that [12:27:42] and now with a link to the actual docs in question [17:19:59] [[Tech]]; 217.117.125.83; /* Language fallback chain on multilingual sites */ reply to Tacsipacsi ([[c:Special:MyLanguage/User:JWBTH/CD|CD]]); https://meta.wikimedia.org/w/index.php?diff=22301525&oldid=22299068&rcid=20484220 [19:15:35] I don't know if this is significant, but I'm getting "An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later." on some searches on https://checkuser.wikimedia.org/ [19:17:24] I'll ping search team [19:18:01] roy649_: it's not unheard of completely, though unfortunate [19:18:12] there is a similar ticket for that on another wiki [19:18:14] OK, thanks. It's intermittent and looks like it's more common on searches with large numbers of namespaces. [19:18:30] similar https://phabricator.wikimedia.org/T240778 [19:19:24] I left a message for the search team [19:19:38] sounds like a service overload timeout firing somewhere [19:19:42] and https://phabricator.wikimedia.org/T201584 but..both closed. maybe it should be reopened. [19:19:43] thanks, not an emergency from my end, just figured I'd let you guys know. [19:19:47] thanks RhinosF1 [19:20:31] roy649_: yea, thank you for reporting. and it can also help to just leave comments that this is still happening [19:20:48] https://heyguys.cc/ [19:21:24] s/guys/y'all :D [19:21:55] mutante: a few have gone for the weekend but hopefully I'll get a reply soon [19:23:10] I did notice on that second ticket there was an action involving to 'recreate/reindex' a certain wiki in search [19:23:25] RhinosF1: thanks, it's not UBN-level though :) [19:23:25] Ye [19:23:41] I think that will be the likely solution [19:24:08] yea, could be that checkuser wiki needs reindexing [19:24:54] I'm seeing `index_not_found_exception: no such index`, with the marked index' as `checkuserwiki,chi:commonswiki_file` fwiw, seems ^ [19:28:06] heh. well, now I think a new ticket should be created for this specific wiki [19:28:25] and then we paste the above into it, add search team tags and see [19:29:01] maybe there is a reason to not index 'checkuser'? [19:29:15] or just oversight [19:30:08] why would you not want to index checkuser? [19:30:17] wouldn't that make it, you know, hard to search? [19:31:26] mutante: given it half works [19:31:34] I'd just assume it's broke itself [19:31:42] Sadly on a Friday [19:33:04] have you tried logging out/logging back in [19:34:29] oop no I can replicate it now, is someone creating a task? [19:36:18] tn: here you go, feel free to edit it all wiki style https://phabricator.wikimedia.org/T295192 [19:37:35] i'll fix tags [19:45:37] RhinosF1: yea, left a ping as well and the ticket is going to evolve [22:46:12] legoktm: indicator is the DC Switchback was causing ^, I tagged the task but I know you were involved so not sure if you want to put it anywhere useful for future [23:25:58] DannyS712: PM?