Page MenuHomePhabricator

Can't get wiki ID for a local site in WMF production
Open, Needs TriagePublic5 Story Points

Description

maxsem@tin:~$ mwscript shell.php ruwiki
>>> MediaWiki\MediaWikiServices::getInstance()->getInterwikiLookup()->fetch( 'he' )->getWikiID()
=> ""

Expected: "hewiki"

Event Timeline

MaxSem created this task.Nov 1 2017, 1:19 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 1 2017, 1:19 AM
kaldari set the point value for this task to 5.Nov 1 2017, 11:18 PM

This was worked around in https://gerrit.wikimedia.org/r/#/c/393937/ by not relying on wiki IDs in the first place, we don't need it for our section encoding project anymore, so I'm removing it from our sprint. The issue itself is still valid on its own, so keeping it open.