HomePhabricator

Add support for ?uselang=qqx

Tags
None
Referenced Files
None
Subscribers
None

Description

Add support for ?uselang=qqx

Using a pretty similar format to MediaWiki, though arguments are shown
as their repr() – this means strings are wrapped in single quotes (which
is a bit unnecessary), but also means Markup() is visible, and remember
that message arguments can also be lists.

I don’t think we should treat qqx as a real language code, though, so
?uselang=qqx actually sets the interface language to English and then
sets a separate flag in flask.g that the message() function reads. So
the HTML is still in lang="en" throughout.

Details

Provenance
LucasWerkmeisterAuthored on Apr 23 2024, 8:23 PM
Parents
R2362:672045a9c1bc: Fix unused imports and Flake8 config
Branches
Unknown
Tags
Unknown
ChangeId
None