Create an adapter that implements SiteLookup on top of InterwikiLookup
Open, LowPublic

daniel lowered the priority of this task from Normal to Low.
daniel removed daniel as the assignee of this task.Oct 31 2016, 4:24 PM
Ladsgroup claimed this task.EditedFeb 23 2018, 10:33 PM
Ladsgroup added a subscriber: Ladsgroup.

I'm working on this as it's blocking T183019: Wikibase must not insert local recentchanges entries for nonexistent local users (days: 5)
One note before moving forward, In InterwikiLookup in production we don't save wikiId().

object(Interwiki)#2933 (6) {
  ["mPrefix":protected]=>
  string(2) "fa"
  ["mURL":protected]=>
  string(32) "https://fa.wikipedia.org/wiki/$1"
  ["mAPI":protected]=>
  string(0) ""
  ["mWikiID":protected]=>
  string(0) ""
  ["mLocal":protected]=>
  bool(true)
  ["mTrans":protected]=>
  bool(false)
}

This adapter is completely useless without it.

Restricted Application added a project: User-Ladsgroup. · View Herald TranscriptFeb 23 2018, 10:33 PM

Change 413891 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/core@master] Introduce SiteLookupAdapter on top of SiteLookup

https://gerrit.wikimedia.org/r/413891

RazShuty added a subscriber: RazShuty.

May I ask what's the status of this?

I have been working on one corner of the SiteInfo stuff at the hackathon again. I should sit down with Amir to discuss next steps. The implementation is not so hard, what is tricky is staying compatible with configuration manually added to existing installs.

Both of us are away until the end of July, so I propose to do this in August.