הערה: לאחר הפרסום, ייתכן שיהיה צורך לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.

  • פיירפוקס / ספארי: להחזיק את המקש Shift בעת לחיצה על טעינה מחדש (Reload) או ללחוץ על צירוף המקשים Ctrl-F5 או Ctrl-R (במחשב מק: ⌘-R).
  • גוגל כרום: ללחוץ על צירוף המקשים Ctrl-Shift-R (במחשב מק: ⌘-Shift-R).
  • אינטרנט אקספלורר / אדג': להחזיק את המקש Ctrl בעת לחיצה על רענן (Refresh) או ללחוץ על צירוף המקשים Ctrl-F5.
  • אופרה: ללחוץ על Ctrl-F5.
wgNotice = '';

importUserScript(2); //תקציר עריכה אוטומטי בעריכת גרסה ישנה

importUserScript(4); //סרגל מיזמים
 
// importUserScript(9); //הוספת כפתור לסינון שחזורים - לא תקין
 
importUserScript(64); //קישורי אזהרה וכד' לדף השוואת גרסאות של אנונימיים

importUserScript(16); //חישוב אחוזי תמיכה בהצבעות
 
importUserScript(17); //מארגן את מסגרות הניווט שבצד ימין של המסך בצורת טאבים
 
importUserScript(15); //הסרת תמונות מערכים מתוך דף תמונה

// Revert tools by Lorian
// From Nir909's monobook
 
function getRevertMessage( where, user1, user2 ) {
    // Get page name and revision ID
    var title = encodeURIComponent( wgPageName );
    var oldid = encodeURIComponent( getParamValue( "oldid" ) );
 
    // Encode user names
    user1 = encodeURIComponent( user1 );
    user2 = encodeURIComponent( user2 );
 
    // Get message
    var message = prompt( "איזו הודעה ברצונך להשאיר?", "" );
    if( !message ) {
        return;
    }
    message = encodeURIComponent( message );
 
    location.href = mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + title + "&action=edit&oldid=" + oldid + "&" + where + "=2&user1=" + user1 + "&user2=" + user2 + "&message=" + message;
}
 
function revertToolsLinks() {
    if( !getParamValue( "diff" ) ) {
        return;
    }
 
    // Get page name and revision ID
    var title = encodeURIComponent( wgPageName );
    var oldid = encodeURIComponent( getParamValue( "oldid" ) );
 
    // Get user names
    var user1 = encodeURIComponent( document.getElementById( "mw-diff-otitle2" ).getElementsByTagName( "a" )[0].innerHTML );
    var user2 = encodeURIComponent( document.getElementById( "mw-diff-ntitle2" ).getElementsByTagName( "a" )[0].innerHTML );
 
    // Add revert tools links
    var contentSub = document.getElementById( "contentSub" );
    contentSub.innerHTML = "(";
    contentSub.innerHTML += "<a href=\"" + mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + title + "&action=edit&oldid=" + oldid + "&revert=1&user1=" + user1 + "&user2=" + user2 + "\">שחזור</a>";
    contentSub.innerHTML += " / ";
    contentSub.innerHTML += "<a href=\"javascript:var message = getRevertMessage( 'revert', '" + user1 + "', '" + user2 + "' );\">הודעה</a>";
    contentSub.innerHTML += ") (";
    contentSub.innerHTML += "<a href=\"" + mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + title + "&action=edit&oldid=" + oldid + "&vandalism=1&user1=" + user1 + "&user2=" + user2 + "\">ונדליזם</a>";
    contentSub.innerHTML += " / ";
    contentSub.innerHTML += "<a href=\"javascript:var message = getRevertMessage( 'vandalism', '" + user1 + "', '" + user2 + "' );\">הודעה</a>";
    contentSub.innerHTML += ") (אזהרה: ";
    contentSub.innerHTML += "<a href=\"" + mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=User_talk:" + user2 + "&action=edit&section=new&warn=1\">אזהרה</a>";
    contentSub.innerHTML += " / ";
    contentSub.innerHTML += "<a href=\"" + mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=User_talk:" + user2 + "&action=edit&section=new&warn=2\">ניסויים</a>";
    contentSub.innerHTML += " / ";
    contentSub.innerHTML += "<a href=\"" + mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=User_talk:" + user2 + "&action=edit&section=new&warn=3\">תודה</a>";
    contentSub.innerHTML += ")";
}
function revertTools() {
    var revert = getParamValue( "revert" );
    var vandalism = getParamValue( "vandalism" );
    var warn = getParamValue( "warn" );
    if( revert || vandalism ) {
        var term;
        if( vandalism ) {
            term = "שחזור השחתה";
        } else {
            term = "שוחזר מעריכה";
        }
        var oldid = getParamValue( "oldid" );
        var user1 = getParamValue( "user1" );
        var user2 = getParamValue( "user2" );
        document.getElementById( "wpSummary" ).value = term + " של [[Special:Contributions/" + user2 + "|" + user2 + "]] לגרסה " + oldid + " של [[Special:Contributions/" + user1 + "|" + user1 + "]]";
        if( revert == "2" || vandalism == "2" ) {
            document.getElementById( "wpSummary" ).value += " (" + getParamValue( "message" ) + ")";
        }
        document.getElementById( "editform" ).submit();
    } else if( warn == "1" ) {
        document.getElementById( "wpSummary" ).value = "אזהרת השחתה";
        document.getElementById( "wpTextbox1" ).value = "{" + "{אזהרה}} ~~" + "~~";
        document.getElementById( "editform" ).submit();
    } else if( warn == "2" ) {
        document.getElementById( "wpSummary" ).value = "ניסויי עריכה";
        document.getElementById( "wpTextbox1" ).value = "{" + "{ניסויים}} ~~" + "~~";
        document.getElementById( "editform" ).submit();
    } else if( warn == "3" ) {
        document.getElementById( "wpSummary" ).value = "ויקיפדיה מודה לך על תרומתך!";
        document.getElementById( "wpTextbox1" ).value = "{" + "{תודה}} ~~" + "~~";
        document.getElementById( "editform" ).submit();
    }
}
 
$( revertToolsLinks );
$( revertTools );
 
//Made by Eran
function addDeleteOption() {
  ta['del'] = ['', 'מחק דף זה'];
  if (!document.getElementById) return;
  var reqDel=wgPageName;
  x = document.getElementById('ca-move');
  if(!x) return;
  y = document.createElement('li');
  y.id = 'ca-move';
  z = document.createElement('a');
    z.href = 'http://he.wikipedia.org/w/index.php?title=ויקיפדיה:בקשות_ממפעילים&action=edit&section=1&pleasedelete=yes&pagefordel='+reqDel;
  if (x.children) {
    z.appendChild(document.createTextNode('מחיקה'));
    y.appendChild(z);
    document.getElementById('p-cactions').children[1].insertBefore(y,x.nextSibling);
  } else {
    z.appendChild(document.createTextNode('מחיקה'));
    y.appendChild(z);
    document.getElementById('p-cactions').childNodes[3].insertBefore(y,null);
  }
}
 
$(function (){
if(location.href.match(/pleasedelete=yes/)) {
    txtLoc=location.href;
    reqDel=decodeURI(txtLoc.substring(txtLoc.indexOf('pagefordel=')+11,txtLoc.length));
    document.getElementById('wpSummary').value = '[[' + reqDel + ']]';
    document.getElementById('wpTextbox1').value = document.getElementById('wpTextbox1').value + '\n*[['+reqDel+']] ~~'+'~~';
    document.getElementById('editform').submit();
}
});