MediaWiki:Thread Inspection/code.js

// /* the ability to review deleted messages in the forum */ /* manual removal - the ability to view a removed message by clicking it */ $(document).ready(function {	$("#Wall .replies .hide").attr("title","Click here to view this message").attr("style","cursor: hand; cursor: pointer;");	$("#Wall .replies .hide").mousedown(function { $(this).removeClass("hide").removeAttr("title").removeAttr("style"); }); }); /* absolute removal - the ability to review all removed messages at once */ // osais if ($("body.ns-1201.skin-oasis #Wall .replies .hide").length > 0) { $("#my-tools-menu").prepend(' Review all messages\n'); $('#my-tools-menu .overflow a[data-name="undeleteBoardThreadMessages"]').click(function {		$("#Wall .replies .hide").removeClass("hide").removeAttr("title").removeAttr("style");	}); } // monobook if ($("body.ns-1201.skin-monobook #Wall .replies .hide").length > 0) { $(".BreadCrumbs:first").prepend('Review all messages\n'); $('#undeleteBoardThreadMessages').click(function {		$("#Wall .replies .hide").removeClass("hide").removeAttr("title").removeAttr("style");	}); }