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('/extensions/WE/spam.js');  }  if (wgAction === 'history') {    $.getScript('/extensions/WE/deleterevs.js');  }  $('#p-coll-create_a_book li a[href*="add_article"]').parent    .after('Add page &amp; subpages');   $('#t-bookmaker').click(function { $.getScript('/extensions/WE/bookmaker.js'); return false; }); });