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

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

('משתמש:yonidebest/monobook.js/quickdelete.js');  /* Adds an option to mark problematic images */

importScript('משתמש:yonidebest/monobook.js/templateSC.js');   /* Adds link to warn users on their talkpage in the diff page */

importScript('משתמש:yonidebest/monobook.js/archive.js');         /* Archives my talk page. */

importScript('משתמש:yonidebest/monobook.js/colorProtected.js');  /* Colors the "edit" tab according to protection lvl. */

importScript('משתמש:yonidebest/monobook.js/rollBackSummary.js'); /* Adds option to add summary to fast revets. */

 importScript('משתמש:yonidebest/monobook.js/addAuthorOfDeletedPage.js');  /* Adds link to last author in deleted page. */

 importScript('משתמש:yonidebest/monobook.js/highlightAnon.js');   /* Adds a colored background to anonymous edits in RC page. */

importScript('משתמש:yonidebest/monobook.js/initShowImageLicenses.js'); /* Add link to color code imgs in page according to license */
importScript("משתמש:ערן/imageCRV.js"); //מוסיף כפתור הסרת תמונה מערך בתוך דף התמונה

/* הסקריפט מוסיף לשוניות "מחיקה", "הגנה" ו"חסימה" על מנת שאפשר יהיה לבקש מחיקת דפים, הגנת דפים וחסימת משתמשים באמצעות דף בקשות ממפעילים.
 * נכתב על ידי [[משתמש:ערן]]
 * נבדק בFF3.5 ובIE8
 */
//delete option
function addDeleteOption()
{
    var historyTab = document.getElementById('ca-history');
    if (!historyTab ) return;
    var deleteTab = document.createElement('li');
    deleteTab.id = 'ca-js-delete';
    var deleteLink = document.createElement('a');
    deleteLink.href = '#';
    deleteLink.title = 'מחיקת דף זה';
deleteLink.onclick = function(){
var reqDel = wgPageName;
if(wgNamespaceNumber==14 || wgNamespaceNumber==6){//for categories and files
reqDel =':'+reqDel;
}
var reqRes=prompt("סיבה לבקשת המחיקה");
if(reqRes) reqRes=' - '+reqRes;
else {return;}//cancel the operation
window.location.href='http://he.wikipedia.org/w/index.php?title=ויקיפדיה:בקשות_ממפעילים&action=edit&section=1&pleasedelete=yes&pagefordel=' + reqDel+'&delRes='+reqRes;
}
  if (historyTab.children) {
    deleteLink.appendChild(document.createTextNode('מחיקה'));
    deleteTab.appendChild(deleteLink);
    historyTab.parentNode.insertBefore(deleteTab,historyTab);
  } else {
    deleteLink.appendChild(document.createTextNode('מחיקה'));
    deleteTab.appendChild(deleteLink);
    document.getElementById('p-cactions').childNodes[3].insertBefore(deleteTab,null);
  }
}
 
$(function (){
if(location.href.match(/pleasedelete=yes/)) {
    var txtLoc=location.href;
    var decLoc=decodeURI(txtLoc);
    var delrgx = new RegExp("pagefordel=(.*?)&delRes=(.*)");  
    var m = delrgx.exec(decLoc);
    if(m){
var reqDel=m[1];
var reqRes=m[2];
    document.getElementById('wpSummary').value = '/* בקשות מחיקה */ [[' + reqDel + ']]';
    document.getElementById('wpTextbox1').value = document.getElementById('wpTextbox1').value + '\n*[['+reqDel+']]'+reqRes+' ~~'+'~~';
    document.getElementById('editform').submit();
}
}
});
 
$(addDeleteOption);
 
//protect option
function addProtectOption()
{
    var historyTab = document.getElementById('ca-history');
    if (!historyTab ) return;
    var protectTab = document.createElement('li');
    protectTab.id = 'ca-js-protect';
    var protectLink = document.createElement('a');
    protectLink.href = '#';
    protectLink.title = 'הגנה על דף זה';
protectLink.onclick = function(){
var reqProt = wgPageName;
if(wgNamespaceNumber==14 || wgNamespaceNumber==6){//for categories and files
reqProt =':'+reqProt;
}
var reqRes=prompt("סיבה לבקשת ההגנה");
if(reqRes) reqRes=' - '+reqRes;
else {return;}//cancel the operation
window.location.href='http://he.wikipedia.org/w/index.php?title=ויקיפדיה:בקשות_ממפעילים&action=edit&section=3&pleaseprotect=yes&pageforprot=' + reqProt+'&protRes='+reqRes;
}
  if (historyTab.children) {
    protectLink.appendChild(document.createTextNode('הגנה'));
    protectTab.appendChild(protectLink);
    historyTab.parentNode.insertBefore(protectTab,historyTab);
  } else {
    protectLink.appendChild(document.createTextNode('הגנה'));
    protectTab.appendChild(protectLink);
    document.getElementById('p-cactions').childNodes[3].insertBefore(protectTab,null);
  }
}
 
$(function (){
if(location.href.match(/pleaseprotect=yes/)) {
    var txtLoc=location.href;
    var decLoc=decodeURI(txtLoc);
    var protrgx = new RegExp("pageforprot=(.*?)&protRes=(.*)");  
    var m = protrgx.exec(decLoc);
    if(m){
var reqProt=m[1];
var reqRes=m[2];
    document.getElementById('wpSummary').value = '/* בקשות הגנה / הסרת הגנה */ [[' + reqProt + ']]';
    document.getElementById('wpTextbox1').value = document.getElementById('wpTextbox1').value + '\n*[['+reqProt+']]'+reqRes+' ~~'+'~~';
    document.getElementById('editform').submit();
}
}
});
 
$(addProtectOption);
 
 
//block option
function addBlockOption()
{
    if (!document.getElementById('ca-nstab-user')) return;
    var userTab = document.getElementById('ca-js-delete');
    if (!userTab) userTab = document.getElementById('ca-move');
    if (!userTab) userTab = document.getElementById('ca-history');
    if (!userTab) userTab = document.getElementById('ca-addsection');
    if (!userTab) userTab = document.getElementById('ca-edit');
    if (!userTab) userTab = document.getElementById('ca-nstab-user');
    var blockTab = document.createElement('li');
    blockTab.id = 'ca-js-block';
    var blockLink = document.createElement('a');
    blockLink.href='#';
    blockLink.title = 'חסימת משתמש זה';
blockLink.onclick=function(){
var reqBlock = wgTitle;
var reqRes=prompt("סיבה לבקשת החסימה");
if(reqRes) reqRes=' - '+reqRes;
else {return;}//cancel the operation
window.location.href='http://he.wikipedia.org/w/index.php?title=ויקיפדיה:בקשות_ממפעילים&action=edit&section=2&pleaseblock=yes&userforblock=' + reqBlock+'&blockRes='+reqRes;
}
  if (userTab.children) {
    blockLink.appendChild(document.createTextNode('חסימה'));
    blockTab.appendChild(blockLink);
    userTab.parentNode.insertBefore(blockTab,userTab.nextSibling);
  } else {
    blockLink.appendChild(document.createTextNode('חסימה'));
    blockTab.appendChild(blockLink);
    document.getElementById('p-cactions').childNodes[3].insertBefore(blockTab,null);
  }
}
 
$(function (){
if(location.href.match(/pleaseblock=yes/)) {
    var txtLoc=location.href;
    var decLoc=decodeURI(txtLoc);
    var delrgx = new RegExp("userforblock=(.*?)&blockRes=(.*)");  
    var m = delrgx.exec(decLoc);
    if(m){
var reqBlock=m[1];
var reqRes=m[2];
    document.getElementById('wpSummary').value = '/* בקשות חסימה / הסרת חסימה */ [[משתמש:'+reqBlock+']] ([[שיחת משתמש:'+reqBlock+'|שיחה]])';
    document.getElementById('wpTextbox1').value = document.getElementById('wpTextbox1').value + '\n* {{לחסום|'+reqBlock+'}}'+reqRes+' ~~'+'~~';
    document.getElementById('editform').submit();
}
}
});
 
if(wgNamespaceNumber==2 || wgNamespaceNumber==3){
$(addBlockOption);
}