Page MenuHomePhabricator

URLs should redirect to *user's* language when possible (i.e. for special pages)
Closed, DeclinedPublic

Description

When on an RTL wiki, and I specify uselang=en, the URL should be redirected to the uselang URL. Example:

http://robinpepermans.be/mw-dev/index.php?title=%D8%AE%D8%A7%D8%B5%3A%D8%B3%D8%AC%D9%84&type=&user=&page=PrefixExport+extension&year=&month=-1&uselang=en

should be redirected to

http://robinpepermans.be/mw-dev/index.php?title=Special:Log&type=&user=&page=PrefixExport+extension&year=&month=-1&uselang=en

Otherwise, modifying the URL is a pain.


Version: unspecified
Severity: enhancement

Details

Reference
bz29671

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:26 PM
bzimport set Reference to bz29671.
bzimport added a subscriber: Unknown Object (MLST).

(The URLs may not work any more soon.)

In other words, special page titles should be in user language instead of content language.
The problem, however, is when you copy the URL that is not English nor in the content language, it will not work for other users.

URLs are kind of sacred area, intended for both humans and computers. I'd avoid doing anything overly clever there.

+1 on comment 2. I think this is a WONTFIX. URLs are content language defaults.

The value of title= should work regardless of what's in uselang.

Consider the following with a dutch title:

  • en.wikipedia.org/wiki/Speciaal:RecenteWijzigingen?uselang=nl works (if this bug is done)
  • en.wikipedia.org/wiki/Speciaal:RecenteWijzigingen fails (if this bug is done)

Agree with wontfix.