!kick/ja

!kick is a chat command, which allows the use of  in Special:Chat.

Usage
!kick can be used to kick a user out of the chat, with a single command: !kick userToKick This command can be used only by moderators, and will appear as a normal message, if made by a regular user.

If  is any user absent on the chat, an inline alert is shown, with a message, which can be customized, using the   variable. For instance: will be replaced by the name of the user which was to be kicked.

If you do not want your users to be kicking users with a higher effective user group then you can add into MediaWiki:Chat.js. Users will still be able to set this variable in their personal JS to  if they want.

Staff cannot be kicked with this script, regardless if the kicking user is a chat moderator or administrator.

Updates

 * August 12, 2018
 * option implemented.


 * June 26, 2018
 * I18n-js implemented.


 * September 15, 2014
 * Script published.