User:Krystaleen/common.js

//diff page: show revision when clicking "revision as of ..." links if( /[?&]diff=/.test(document.URL) ) $('#mw-diff-ntitle1 a:first, #mw-diff-otitle1 a:first') .attr('title', 'Click to show this revision below') .click(function(e){ e.preventDefault;  var lnk = $(this);  lnk.closest('table.diff')  .nextAll.remove.end  .after( '', '' + lnk.text + ' ', $(' ')    .append('') .load( lnk.attr('href') + '&action=render', function{ this.scrollIntoView } ) ) }) mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript'); importScript('Wikipedia:AutoEd/complete.js');