User:Rutilant/ArchiveTool.js

var saved; function addSpan{ saved=bodyContent.innerHTML; bodyContent.innerHTML=bodyContent.innerHTML+"Archive Talk Messages A simple script by User:RainFall Destination :  Archive Selected ( Unavailable ) CancelArchive Archive all the following talk messages  ";

}

function closeArchiver{

bodyContent.innerHTML=saved;

$("#archiveMessages").fadeOut(200); }

$(function {	 mw.util.addPortletLink("p-cactions", "javascript:addSpan", "ArchiveAll"); });