User:Mackiwg/vector.js

importScript('User:JimTittsler/googlesearch.js');

$(function {  $('#n-recentchanges').after('New pages');  // gardening tool  if ($.inArray(wgPageName, ['Special:NewPages', 'Special:RecentChanges']) > -1) {    $.getScript('/skins/common/we/spam.js');  }  if (wgAction === 'history') {    $.getScript('/skins/common/we/deleterevs.js');  }  $('#p-coll-create_a_book li a[href*="add_article"]').parent    .after('Add page &amp; subpages');   $('#t-bookmaker').click(function { $.getScript('/skins/common/we/bookmaker.js'); return false; }); });