payments wiki uses two url parameters for language language= and uselang=
uselang comes from mediawiki so let's just use that one to control the language
We don't need to do translations in this phab, those are handled by others
payments wiki uses two url parameters for language language= and uselang=
uselang comes from mediawiki so let's just use that one to control the language
We don't need to do translations in this phab, those are handled by others
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Reads the language from the request from 'uselang' and not 'language' | Laurabarluzzi | mediawiki/extensions/DonationInterface | master | +58 -19 |
sub-ticket could copy over the translations from donate wiki
Did we change our mind on how to leverage hard-coded translations? I believe I was told we don't want to do this.
But if I understand this correctly, this task is about keeping the language selection as-is but removing the support of the query param language while making sure we read only from uselang if passed, right? Then what we do with the selected language can be a follow-up task (e.g. translations task).
Change #1344720 had a related patch set uploaded (by Laurabarluzzi; author: Laurabarluzzi):
[mediawiki/extensions/DonationInterface@master] Reads the language from the request from 'uselang' and not 'language'
Yeah just make sure uselang now able to trigger language update for combowiki as we did in donate wiki, the translation part can be another ticket, which we want to copy some languages from donate wiki to avoid duplicate work from volunteer~
@Laurabarluzzi yeah I'll edit the task description, I wrote this before those other phabs sorry!
Change #1344720 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Reads the language from the request from 'uselang' and not 'language'