ReplyAndClose

ReplyAndClose gives admins and discussions moderators the ability to simultaneously post a final reply and close the thread. The script can be configured to set the reason for closing the thread, the default reply and an object for storing generic replies.

Note that this works only on board threads.

Installation
Add the following to your Special:MyPage/common.js for personal use, or MediaWiki:Common.js for site wide use:

Configuration
All configurations made to the script are to be stored in the  object, like so: Remember, this goes above the import call!
 * is changed to a link to the reply that you'll be posting; format:

Messages
The script uses the following messages. Use the talkpage to provide missing translations. These messages can be compiled to a single object with the language code (use the name if you're not sure):

Updates

 * May 15, 2015
 * Initial release.