User:Kwh/monobook.js

/* */

// install User:Cacycle/diff text diff code mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js'  + '&action=raw&ctype=text/javascript');

// install User:Pilaf/Live_Preview page preview tool mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js'  + '&action=raw&ctype=text/javascript');

// install User:Cacycle/editor edit tool mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/editor.js'  + '&action=raw&ctype=text/javascript');

// User:Lupin/popups.js

mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

// shows difference between my last edit and current version (WikiProject User scripts/Scripts/Changes since I last edited) //winc('User:Cacycle/monobook.js/addsincetab.js');

// User:Quarl/unwatch.js adds an unwatch link after each entry on the regular watchlist. (Original by Omegatron, AJAX version by Quarl) //winc('User:Quarl/unwatch.js');

// a helper function to add extra navigation links, from User:Trilobite/Tools and WikiProject User scripts/Scripts/Add LI link // winc('User:Cacycle/monobook.js/addlink.js'); // from User:Omegatron/monobook.js/addlink.js function addLink(where, url, name, id, title, key, after) { var na = document.createElement('a'); na.href = url; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); if (id) { li.id = id; } li.appendChild(na); var tabs = document.getElementById(where).getElementsByTagName('ul')[0]; if (after) { tabs.insertBefore(li,document.getElementById(after)); } else { tabs.appendChild(li); } if (id) { if (key && title) { ta[id] = [key, title]; }   else if (key) { ta[id] = [key, '']; }   else if (title) { ta[id] = ['', title]; } } // re-render the title and accesskeys from existing code in wikibits.js  akeytt; return li; }

// Script from User:Lupin/recent2.js mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); } /* */