Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Introduce SiteLookupAdapter on top of InterwikiLookup | mediawiki/core | master | +245 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T191405 Mark interwiki links as external links when they fall outside the WMF family | |||
Open | None | T113034 RFC: Overhaul Interwiki map, unify with Sites and WikiMap | |||
Open | None | T135162 Drop importSites.php and exportSites.php scripts | |||
Open | None | T135154 Maintenance script to convert between different representations of interwiki / sites info | |||
Open | None | T135155 Create an adapter that implements SiteLookup on top of InterwikiLookup |
Event Timeline
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
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.
Merging this patch would resolve this task: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/413891
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