User:Walrus068/undominussummaries.js

// //predefined undo+ summaries if (wgAction == 'view' || wgAction == 'historysubmit') { $(window).load(function {       $(' ').insertAfter('td.diff-ntitle strong');        $('a[title$="summary."]').attr('id', 'nuts');        $(' (floor) ').appendTo('div#undolinks');        //exchange        if (wgCanonicalNamespace == 'Exchange') {            var summary = 'Market price, please.',                undolink = ' (undo-) ';            $(undolink).appendTo('div#undolinks');        }        //charm        if (wgCategories == 'Charm log submissions') {            var summary = '50 or more kills, please.',                undolink = ' (50--) '; var summary2 = 'Doubt it.', undolink2 = ' (nono) '; $(undolink + undolink2).appendTo('div#undolinks'); }       //bestiary if (wgCategories.indexOf('Bestiary') != -1) { var summary = 'Rare drop table', undolink = ' (RDT-) '; $(undolink).appendTo('div#undolinks'); }

}); } //