API:SetPageLanguage/en

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.
 * 2) GET a.
 * 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 ).
 * This module cannot be used as a.