Page MenuHomePhabricator

Going to a non-local interwiki directly should display the same thing as GoToInterwiki.
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

For example, https://en.wikipedia.org/wiki/google:foo should display the same thing as https://en.wikipedia.org/wiki/Special:GoToInterwiki/google:foo, rather than a nondescript bad title error

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
https://en.wikipedia.org/wiki/MediaWiki_talk:Badtitletext#Protected_edit_request_on_18_October_2024

Benefits (why should this be implemented?):

Helps people get where they're going.

Event Timeline

Note: this is originally suggested when this special page is created, see T122209#2006136

Change #1088866 had a related patch set uploaded (by Pppery; author: Pppery):

[mediawiki/core@master] Redirect non-local interwikis to Special:GoToInterwiki

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

I like this idea. This would offer a partial solution to a problem that comes up from time to time: links in localisation messages used in JavaScript don't work correctly when linking to non-local interwikis (https://www.mediawiki.org/wiki/Manual:Messages_API#Feature_support_in_JavaScript). I've seen it reported most recently in T418683: The interwiki link in the temporary account banner tooltip isn't parsed as an interwiki link, but it comes up regularly, e.g. https://gerrit.wikimedia.org/r/c/mediawiki/core/+/743943 is another one I remembered.

I'll ask some more people to weigh in, since it seems like a notable change to the behavior of a security-sensitive feature, but if no one objects, I'd like to approve this.

Change #1088866 merged by jenkins-bot:

[mediawiki/core@master] ActionEntryPoint: Redirect non-local interwiki to Special:GoToInterwiki

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