Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//[[MediaWiki talk:Quick-delete.js]]
importScript( 'MediaWiki:Quick-delete.js' );

mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Patstuart/Flickrreview.js'
+ '&action=raw&ctype=text/javascript');

//Bits from Giggy for "Nuke" ?
importScript ("MediaWiki:Utilities.js");

// Adds "del" links alongside images in user's upload log, uses Utilities.js (above) to remember delete reason between images for [[Special:Nuke]] style deletion (until that starts working with images).
if (wgCanonicalNamespace == 'Special' && wgCanonicalSpecialPageName == 'Log') {
  hookEvent ('load',
    function () {
      var lks = getElementsByTagNameStatic ('a', document.getElementById ('bodyContent'));
      DelReqHandler.addDelKeepLinks (lks, false, false, true);
    }
  );
}


//Cropbot
function addcroplink()
{
   if(wgNamespaceNumber == 6)
   {
      if(wgTitle.match(/(.*)\.(jpg|jpeg)/gi))
      {
          var croplink = "http://toolserver.org/~luxo/cropbot/cropbot.php?img="+wgTitle;
          mw.util.addPortletLink("p-tb", croplink, "Crop", "p-crop", "Crop this image", "o", false);
      }
   }
}
 
$(addcroplink);