MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=ulssetlang

(main | ulssetlang)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: UniversalLanguageSelector
  • License: GPL-2.0-or-later OR MIT

Update user's preferred interface language.

Parameters:
languagecode

The preferred language code.

This parameter is required.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.