MediaWiki:DisableBotMessageWalls/code.js

/** * Disable Bot Message Walls *  * @author - Jdm280 *   */

$(function {    var PageName = mw.config.get('wgTitle'), Namespace = mw.config.get('wgCanonicalNamespace');        if (Namespace === "Message_Wall") {        $.getJSON('/api.php?action=query&list=allusers&augroup=bot&aulimit=max&format=json', //Calling all bots function(data) { var botList = data.query.allusers; for (var uName in botList) { if (botList[uName].name === PageName) { $('.Wall.Board').remove; }           }        })    }; });