importScript('User:Δ/Copyvio Detection Candidates.js');
importScript("User:Ilmari Karonen/ifdthumbnails.js");
importScript('User:AWeenieMan/furme.js');
importScript('User:AWeenieMan/furmeScroller.js');
importScript('User:ais523/editcount.js');
importScript('User:Smith609/toolbox.js');
importScript('Wikipedia:AutoEd/complete.js');
// User:BrownHairedGirl/metadata.js - displays WikiProject assessments <nowiki>
importScript('User:BrownHairedGirl/metadatatest.js');
assessmentMyTemplateCode = ["{{WikiProject Ireland |class= |importance= |attention= |peer-review= |old-peer-review= |image-needed=yes |needs-infobox=yes }}", "{{WikiProject Philately |class= |importance= }}", "{{Motorcycling |class= |importance= |image-needed=no |needs-infobox=no |listas= }}", ];
assessmentDefaultProject = "WikiProject Ireland";
assessmentMarkAsMinor = true;
// </nowiki>
// adapted from TinEye gadget for Commons
// To use, add this to your user skin preferences file (probably User:YourUsername/monobook.js):
//
addOnloadHook( function() {
if ((mw.config.get('wgNamespaceNumber') != 6) || (mw.config.get('wgAction') != "view") || !document.getElementById('file')) return;
var links = document.getElementById('file').getElementsByTagName('a');
if (!links.length) return;
var imageurl = links[links.length-1].href; //imageboxes adds links _before_, so we get the last link
if (document.getElementById('file').getElementsByTagName('img')[0].width <= 300) {
imageurl = document.getElementById('file').getElementsByTagName('img')[0].src; //Image smaller than 300px width
} else { //Get thumb url
imageurl = imageurl.replace("/en/", "/en/thumb/");
imageurl = imageurl.replace("/commons/", "/commons/thumb/");
n = imageurl.lastIndexOf('/') + 1;
imageurl = imageurl + "/300px-" + imageurl.substring(n);
}
mw.util.addPortletLink('p-cactions', 'http://tineye.com/search?url=' + encodeURIComponent(imageurl), 'Tineye', 'ca-tineye');
});
/**** quick image delete ****/
importScript('User:Howcheng/quickimgdelete.js');
qid_autoSave = false;
importScript('User:Ohconfucius/script/formatgeneral.js'); //[[User:Ohconfucius/script/formatgeneral.js]]
// Module: revisionjumper.js Allows to jump between diffs and permanent links
mw.loader.load('//de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-revisionjumper.js&action=raw&ctype=text/javascript'); // [[MediaWiki:Gadget-revisionjumper.js]]
DelsortConfig = {
debugLevel : 0,
watchDelsortedLists : 1,
watchDelsortedAfd : 1,
shortcuts : ['Authors','Australia','Lists']
}