User:Davelane/vector.js

$(function {  $('#n-recentchanges').find('a:first').attr('href', '/index.php?title=Special:RecentChanges&hidebots=0');  $('#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');  } });