https://bugzilla.wikimedia.org/show_bug.cgi?id=60580
Web browser: ---
Bug ID: 60580
Summary: foreign language prefixes in URL should redirect to
canonical names, resolving using host wiki language
Product: MediaWiki
Version: 1.22.0
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Special pages
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Coming at the problems described in bug 9040 and bug 24289 with an easy to
implement fix that hopefully resolves the underlying use-cases...
Users often put language codes into URLs to switch between languages. This
always works _from_ English Wikipedia, as it uses canonical names in the URL.
If there are non-canonical names in the URL, converting them from the host
wiki's language into canonical names *before* being redirected to a different
wiki will allow the interwiki-target-wiki to understand the URL irrespective of
its language.
i.e. currently:
http://de.wikipedia.org/wiki/Special:Watchlist redirects to
https://de.wikipedia.org/wiki/Spezial:Beobachtungsliste
and
http://en.wikipedia.org/wiki/de:Special:Watchlist redirects to
https://de.wikipedia.org/wiki/Spezial:Beobachtungsliste
\o/
However,
https://de.wikipedia.org/wiki/en:Spezial:Beobachtungsliste redirects to
https://en.wikipedia.org/wiki/Spezial:Beobachtungsliste
which is not helpful.
https://de.wikipedia.org/wiki/en:Spezial:Beobachtungsliste should redirect to
https://en.wikipedia.org/wiki/Special:Watchlist
https://de.wikipedia.org/wiki/fr:Spezial:Beobachtungsliste should (on the host
wiki) be converted to https://de.wikipedia.org/wiki/fr:Special:Watchlist which
would then redirect to
https://fr.wikipedia.org/wiki/Special:Watchlist which the fr.wp wiki would then
redirect me to
https://fr.wikipedia.org/wiki/Spécial:Liste_de_suivi
In addition to special pages, it would be very helpful if the same can be done
for the page name messages mainpage, but a few others may also be worth doing
at the same time (e.g. helppage, randompage-url)
There is a regular flow of users hitting this problem, and creating soft
redirects to fix the problem. Please see these discussions
https://en.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log/2014_January_14#Spezial:Beobachtungsliste
https://en.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log/2014_January_28#Pennfolenn.2FPenfolen
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l