Page MenuHomePhabricator

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

Event Timeline

daniel lowered the priority of this task from Medium to Low.Oct 31 2016, 4:19 PM
daniel added a project: Wikidata.
Ladsgroup subscribed.

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.

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 subscribed.

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.

Just poking again to see what the status of this is @daniel @Ladsgroup

The status of this is "I really want to work on this but other stuff keeps being more urgent"...

The code for this is mostly finished. The biggest issue is migrating old installs to the new system without losing any data. This probably needs an RFC, and I have been busy with other stuff...

I'm going to remove this from the campsite, as it is not something we are actively working on, and probably won't for a while