Page MenuHomePhabricator

?uselang= URL parameter should persist until removed by the user
Closed, DuplicatePublic

Description

URL like http://en.wikipedia.org/wiki/Special:Preferences?uselang=fr uses uselang=fr parameter to temporarily expose the interface in the designated language. It's also currently the only way (AFAIK) to expose the message keys (using uselang=qqx) magic. However this parameter is lost at any subsequent click. It would be useful to make the parameter stuck until removed by the user.
See also T24029: useskin URL parameter should persist through "show changes" / "show preview" and this enwiki's Village pump discussion.

Event Timeline

Ammarpad created this task.Apr 25 2019, 6:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 25 2019, 6:02 PM
Ammarpad updated the task description. (Show Details)Apr 25 2019, 6:05 PM

Quoting Nikerabbit from https://phabricator.wikimedia.org/T31733#327329 :

uselang is a debugging feature, not part of the user interface. If you want sticky language use LanguageSelector extension with setlang instead.

I am tempted to merge this task into the (declined) task T31733.