HomePhabricator

Updated mediawiki/extensions Project…

Authored by Fomafix.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/UniversalLanguageSelector 0d5c69f65587e20811a58da94eaed47021e5c2f0

Do not use setlang to change user language

Requests using GET should only retrieve data and should have no other effect.
(https://en.wikipedia.org/wiki/HTTP_GET_request)

  • Use API with POST to change the user interface language in user settings.
  • When allowed by wgULSAnonCanChangeLanguage set cookie for anonymous user or when API fails.

This change uses mediawiki.cookie which requires MediaWiki 1.24+.

Bug: T46649
Change-Id: Iaf6fafbf200933dfc760be69d2adf5e5efcf8245

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXTe9d0a6b4c28f: Updated mediawiki/extensions Project… (authored by Fomafix).Sep 9 2015, 8:01 PM