Steps to replicate the issue (include links if applicable):
- Find a user who's active on a sister project (not Meta/Commons/Wikidata), eg. Marek Mazurkiewicz, who's active on plwikinews
- Open UserInfo card for this user (on any wiki)
What happens?:
Sister projects (in this case plwikinews) don't show up in "Active wikis" section. Only projects with database name ending with wiki show up.
If you open the card on a sister projects, the links to Wikipedias will lead to the respective language versions of the sister project (eg. on Wikinews, plwiki will be a link to pl.wikinews.org).
What should have happened instead?:
The sister projects should also be displayed.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
This problem is caused by CheckUserUserInfoCardService::getUserInfo, which should use WikiMap::getWiki to map database name into a wiki, instead of trying to map it onto an interwiki prefix.
