Wikibase has a getLocationAgnosticMwApi function (in wikibase/javascript-api) which returns an instance of either mw.Api or mw.ForeignApi, depending on whether the target URL matches the current host or not. I think this is no longer necessary: since we resolved T208601, it should be fine to simply use ForeignApi unconditionally. We should migrate callers to that simpler pattern and then get rid of this method.
Description
Description
Related Objects
Related Objects
Event Timeline
Addshore moved this task from Incoming to Needs Tech Work on the Wikidata-Campsite board.Jan 27 2020, 4:00 PM2020-01-27 16:00:33 (UTC+0)
Restricted Application added a project: Structured-Data-Backlog. · View Herald TranscriptJan 27 2020, 4:00 PM2020-01-27 16:00:34 (UTC+0)
• Sarahmarie1981 edited projects, added WMDE-Tech-Communication-Source-Code-Berlin; removed Structured-Data-Backlog.Mar 16 2020, 3:32 PM2020-03-16 15:32:42 (UTC+0)
Addshore updated the task description. (Show Details)Apr 14 2021, 4:00 PM2021-04-14 16:00:18 (UTC+0)
LucasWerkmeister updated the task description. (Show Details)Apr 14 2021, 4:24 PM2021-04-14 16:24:22 (UTC+0)
Michael edited projects, added wmde-wikidata-tech; removed [DEPRECATED] wdwb-tech.Nov 8 2023, 3:35 PM2023-11-08 15:35:27 (UTC+0)
ItamarWMDE moved this task from Incoming to Other Projects on the wmde-wikidata-tech board.Nov 9 2023, 10:24 AM2023-11-09 10:24:35 (UTC+0)