User:Yonatan/monobook.js

// 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'); // user:Where/usertabs addOnloadHook(function { if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history     return;  if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {     var username = encodeURIComponent( wgTitle );     mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");     mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");     mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Block log", "ca-blog", "Blocks of this user");     mw.util.addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=enwiki_p&user=" + username, "Edit count", "ca-editcount", "Edit count from Interiot's toolserver script"); } });

//

/**** afd helper ****/

document.write(' ');

/* This is to keep track of who is using this extension: User:Jnothman/afd_helper/script.js */

/**** quick image delete ****/ document.write(' ');

/* This is to keep track of who is using this extension: User:Howcheng/quickimgdelete.js */

// addPurge addOnloadHook(function {    var hist; var url;    if (!(hist = document.getElementById('ca-history') )) return;    if (!(url = hist.getElementsByTagName('a')[0] )) return;    if (!(url = url.href )) return;    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), 'purge', 'ca-purge', 'Purge server cache for this page', 'p'); });

//

/* Wikipedia:WikiProject User scripts/Scripts/Twinkle */

importScript('User:AzaToth/twinkle.js');

/* פונקציה לבחירת כל הגרסאות בדף השחזורים כברירת מחדל */ function selectAllunDel { /* בצע רק אם בדף יש טופס שחזור */ var undeleteForm = document.getElementById('undelete'); if (undeleteForm == null) return; unDelAll=document.createElement('input'); unDelAll.value='Select all revisions'; unDelAll.type='button'; unDelAll.onclick=function{ for(var j=0; a = document.getElementsByTagName("input")[j]; j++) { if(a.type=="checkbox") a.checked=true; } };           document.getElementById('undelete').insertBefore(unDelAll,null); }

addOnloadHook(selectAllunDel);