Add a reason field to both Special:PageLanguage and ApiSetPageLanguage
authorMtDu <justin.d128@gmail.com>
Fri, 6 Jan 2017 13:04:41 +0000 (07:04 -0600)
committerMtDu <justin.d128@gmail.com>
Fri, 6 Jan 2017 13:39:20 +0000 (07:39 -0600)
commitb64abcf64e966a8d52fc4f0e43c0a1c9f870726f
tree177787bfdafb8e9cb002f7f95c2e0c86aa321fb7
parentc62e736f183abc62f9b80fcf2703f1a9d8bd379a
Add a reason field to both Special:PageLanguage and ApiSetPageLanguage

Most MediaWiki actions allow a user to enter a comment/reason for taking the action.
This is logged in the change log.
Currently, both ApiSetPageLanguage and Special:PageLanguage don't do this.
This patch fixes this issue.

Bug: T154644
Change-Id: I6ae021086e1ec4440d6b2894a1b85d62eb36e172
includes/api/ApiSetPageLanguage.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
includes/specials/SpecialPageLanguage.php
languages/i18n/en.json
languages/i18n/qqq.json