Add API action to set the language of a page
authorMtDu <justin.d128@gmail.com>
Wed, 4 Jan 2017 00:51:24 +0000 (18:51 -0600)
committerTTO <at.light@live.com.au>
Thu, 5 Jan 2017 03:19:32 +0000 (03:19 +0000)
commitd08751030c97a60b066f70e6962d426367a67e8d
tree47c151b955d492f830ab262cedcf5530671f645c
parent046c463635e12a7d5336fd298aa6ab53381b016d
Add API action to set the language of a page

Currently, a user who wants to set a page's language must use the
Special:PageLanguage interface. However, this is not easy for bots and
scripts to use. The addition of action=setpagelanguage to the API makes
this process easier for such users.

Bug: T74958
Change-Id: I42e74ed3bcd0bfa9ec0c344ba67668210450c975
autoload.php
includes/api/ApiMain.php
includes/api/ApiSetPageLanguage.php [new file with mode: 0755]
includes/api/i18n/en.json
includes/api/i18n/qqq.json
includes/specials/SpecialPageLanguage.php
languages/i18n/en.json
languages/i18n/qqq.json