User:Darryl.matheson/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
// importScript('user:js/ajaxPreview');
importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');
// importScript('User:Odie5533/SnipManager.user.js'); 
// importScript('User:Lenore/autolink.js');
// importScript('User:Barticus88/WhatLinksHere.js');
importScript('user:js/diffs.js');
importScript('User:Cameltrader/Advisor.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Single column diffs');
// importScript('User:Stevage/EnhanceHistory.user.js');
// HistoryCount
$(function (){
    var N = 100;      // <<== CHANGE TO YOUR LIKING
    var x = document.getElementById('ca-history');
    if(!x) return;
    x.getElementsByTagName('a')[0].href += "&limit=" + N;
});

/**
 * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
 * @see https://meta.wikimedia.org/wiki/TemplateScript
 * @update-token [[File:pathoschild/templatescript.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');