GiveChatMod

ChatBlockButton is a script which creates a button in chat allowing the user to promote or demote user to be a chat moderator by using AJAX requests. Script works only if user is wiki administrator.

It was created as Fandom is planning to remove this feature from chat.

Installing
To install this script add the following to your MediaWiki:Chat.js page: