Try to click on the link at https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=rights&user=&page=Arifys%40map+bmswiki&year=&month=-1&tagfilter=
This is not possible.
Try to click on the link at https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=rights&user=&page=Arifys%40map+bmswiki&year=&month=-1&tagfilter=
This is not possible.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| RightsLogFormatter: Use DB key to generate foreign user link | mediawiki/core | master | +10 -3 |
Maybe it's a fail of this gadget since the original log IIRC does provide just redlinks, and we use that script to actually have links to those wikis. I see that @Legoktm is being listed as the last mantainer of the gadget so maybe him could have a look as well. Thank you.
BTW it should happen with any wiki with a - in domain name which equals to a _ in db name.
At a glance of the bug (without digging into the code), maybe this is because those underscores become spaces due to title normalisation, and the space then gets encoded as %20 ?
We should use the DB key to generate these, and then run the _ -> - conversion, assuming we can make the assumption that it's the correct conversion in MW core
Looks like the conversion is done for us:
hphpd> =WikiMap::foreignUserLink( "map_bmswiki", "Arifys", "Arifys@map_bmswiki" ); =WikiMap::foreignUserLink( "map_bmswiki", "Arifys", "Arifys@map_bmswiki" ); "<a class=\"external\" href=\"//map-bms.wikipedia.org/wiki/User:Arifys\">Arifys@map_bmswiki</a>"
Change 279574 had a related patch set uploaded (by Alex Monk):
RightsLogFormatter: Use DB key to generate foreign user link
Change 279574 merged by jenkins-bot:
RightsLogFormatter: Use DB key to generate foreign user link
This bug has been fixed and the fix will be deployed to Wikimedia wikis this week, with MediaWiki version 1.27.0-wmf.21, per https://www.mediawiki.org/wiki/MediaWiki_1.27/Roadmap.