API:SetPageLanguage

POST Request to change the language of a page.

Example
Making any POST request is a multi-step process:


 * 1) Log in, via one of the methods described on API:Login.
 * 2) GET a CSRF token.
 * 3) Send a POST request, with the CSRF token, to take action on a page.
 * 1) Send a POST request, with the CSRF token, to take action on a page.

The sample code below covers the final step in detail.

Sample code
set_page_language.py

Additional notes



 * For MediaWiki site administrators and extension developers: feature provided by this module has to be enabled by  (see Manual:Language).
 * This module cannot be used as a generator.