Page MenuHomePhabricator

Interwikis always link to legacy fragments in WMF production
Closed, ResolvedPublic3 Story Points

Description

New links enadled in the ru.wikipedia and ru.wikisource, but link between projects from ru.wikipedia to ru.wikisource generates an old link with an encoding (also from en.wiki to ru.wiki )

[[:s:Уголовный кодекс Российской Федерации/Глава 1#Статья 2]]
https://ru.wikisource.org/wiki/Уголовный_кодекс_Российской_Федерации/Глава_1#.D0.A1.D1.82.D0.B0.D1.82.D1.8C.D1.8F_2

This was previously reported in T179457, however looking deeper I'd rather fix the local interwiki detection instead of relying on wikis with known IDs being local.

Event Timeline

MaxSem created this task.Nov 28 2017, 11:15 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 28 2017, 11:15 PM

Change 393937 had a related patch set uploaded (by MaxSem; owner: MaxSem):
[mediawiki/core@master] [Title] Use a more proper way of detecting whether interwikis are local

https://gerrit.wikimedia.org/r/393937

kaldari set the point value for this task to 3.Nov 28 2017, 11:34 PM

Change 393937 merged by jenkins-bot:
[mediawiki/core@master] Title: Use a more proper way of detecting whether interwikis are local

https://gerrit.wikimedia.org/r/393937

MaxSem closed this task as Resolved.Dec 2 2017, 2:41 AM