API:SetPageLanguage/ar

POST request to change the language of a page.

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

 Log in, via one of the methods described on . GET a.

 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.