Nota: dopo aver pubblicato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tieni premuto il tasto delle maiuscole Shift e fai clic su Ricarica, oppure premi Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premi Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Internet Explorer / Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5
  • Opera: premi Ctrl-F5.
// /* <pre> */
// Elenco dei tool da caricare. NB: La stringa deve iniziare e finire con uno spazio


var toLoad = "purg led ns0 lks orol tabs chat nav stru allp rch tbar avan nms cwtch popup cmd qed wed since goo rch vpop stex tatoo ptb riex uppg";



//Monobook Modulare di wikibooks ver.2.0.1
//Lancia il vero monobook
// Vedi [[Wikibooks:Monobook.js/MonobookCompleto.js]]

//MONOBOOK ADMIN
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:'+wgUserName+'/aggiornamenti.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//PROVE AL VERO MONOBOOK
document.writeln('<script type="text/javascript" src="/w/index.php?title=Wikibooks:Monobook.js/MonobookCompleto.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//-----------
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:Wim_b/monolibro.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//CONFIGURAZIONE POPUP
popupDelay = 1.5; // aspetta 1.5 secondi per aprirsi
popupHideDelay=0.3; //aspetta 0.3 secondi prima di chiudersi
popupRedlinkRemoval = true; // elimina i collegamenti a link rossi
popupQueriedRevertSummary = "Rollback da popup. Ripristinata la versione di $3";
popupRedlinkSummary = "Eliminato link rosso: %s";
popupAdminLinks=true; 
popupShortcutKeys=true; 
popupFixDabs=true;
popupPreviewKillTemplates=false; 
popupPreviewFirstParOnly=false;
popupOnlyArticleLinks=false;
popupExtraUserMenu='<menurow><<monobook|shortcut=M>>|<<editMonobook|edit>></menurow>';
popupFixRedirs=true;
popupRedlinkRemoval=true;
extraPopupFilters=[
 function(data) { if (/[{]{2}[Ff]eatured article[}]{2}/.test(data) )
   return '<img src="http://upload.wikimedia.org/wikipedia/en/thumb/c/cf/Cscr-featured.png/7px-Cscr-featured.png">';
   else return ''; }
];
popupOnEditSelection = false;
popupFixDabs = true;
popupImageLinks = true;


//document.write('<scr'+'ipt type="text/javascript"'

// + 'src="http://nl.wikipedia.org/w/index.php?title=Gebruiker:Zanaq/zeusmode.js'
// + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');

document.write('<scr'+'ipt type="text/javascript"'

 + 'src="http://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js'
 + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');


//STRUMENTI EXTRA
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:'+wgUserName+'/strumentiextra.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');


// AGGIUNGE COLLEGAMENTI NELLA TOOLBAR PERSONALE
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:'+wgUserName+'/personaltbar.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');


//Mostra i Tatoo
  if ((toLoad.indexOf(" tatoo ")!=-1))
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:'+wgUserName+'/Tatoo&action=raw&ctype=text/javascript&dontcountme=s"></script>');


//MONOBOOK DA ROVINARE
//document.writeln('<script type="text/javascript" src="http://nl.wikipedia.org/wiki/Gebruiker:JePe/recentrevisionsbox.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//MONOBOOK MONOLIBRO3
document.writeln('<script type="text/javascript" src="/w/index.php?title=Utente:'+wgUserName+'/monolibro3.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//SCRIPT VPOPSPEED
document.write('<script type="text/javascript" src="'
+ 'http://it.wikipedia.org/w/index.php?title=Utente:Henna/VPopSpeed.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

document.write('<script type="text/javascript" src="'
+ 'http://nl.wikipedia.org/w/index.php?title=Gebruiker:Valhallasw/hennading.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//************SET STATUS***********
//GRAZIE A [[w:Utente:Jalo]]
//<pre>
var stati = new Array ('connesso', 'occupato', 'disconnesso', 'su_it.wiki', 'vacanziero', 'patroller', 'chattarolo', 'stanchissimo');

$(function () {
    var logout = document.getElementById('pt-logout');
    var newpt = document.createElement('li');
    var link = document.createElement('a');
    link.id = 'setStatus';
    link.href = 'javascript:setCurrentStatus()';

    // Crea la stringa mostrata a video
    link.appendChild(document.createTextNode("Set Status"));

    // just one little ID attribute would be _so_ nice...
    newpt.appendChild(link);
    logout.parentNode.insertBefore(newpt, logout);
});

function setCurrentStatus()
{
Greeter = "       Hai chiesto di cambiare il tuo logon status\n.       " +
		  "       Scegli il nuovo stato dalla lista       ";
    var div = document.createElement('div');
        div.id = 'inlinePopupDiv';
        div.style.position = 'absolute';
        div.style.zIndex   = 1000;
        div.style.left     =  '5px';
        div.style.top      =  '5px';
        div.style.padding      =  '5px';
        div.style.backgroundColor = '#FFFFFF';
        div.style.borderStyle     = 'solid';
        div.style.borderWidth     = ' medium';
        div.style.borderColor     = '#000000';

        var top = document.createElement('div');
            top.id = 'inlinePopupTop';
            top.style.textAlign = 'right';
            top.style.margin = '8px';
            top.style.backgroundColor = '#DDDDDD';

            var a = document.createElement('a');
                a.appendChild( document.createTextNode('Close'));
                a.href = "javascript:void RemoveNode('inlinePopupDiv')";
                a.style.margin = '8px';

            top.appendChild(a);

        div.appendChild(top);

        var greet = document.createElement('p');
        greet.innerHTML = Greeter;
        div.appendChild(greet);

        var form = document.createElement('form');
        form.name = "popupForm";
        var p = document.createElement('p');

            p.appendChild(document.createTextNode('Stato:'));
                     
            var sel = document.createElement('select');
            sel.name = 'popupSelect';
            sel.size = 1;
			
            var option;
            
            // Carica nel combo box il contenuto della variabile globale
            for (i = 0; i < stati.length; i++)
            {
                option = new Option(stati[i],stati[i]);
                sel.options[sel.options.length] = option;
            }

			p.appendChild(sel);

            var button = document.createElement('input');
            button.value = 'OK';
            button.type = 'button';
            button.setAttribute('onclick', 'salvaNewStatus()');
            p.appendChild(button);

        form.appendChild(p);
        div.appendChild(form);

    document.body.appendChild(div);
    div.getElementsByTagName('input')[0].focus();
}

function salvaNewStatus()
{
    var newStatus = document.getElementById('inlinePopupDiv').getElementsByTagName('select')[0].value;
	var newString='{{Utente:'+wgUserName+'/StatusTemplate|'+newStatus+'}}\n';
	
	// registra il valore
	setpagecontent('Utente:'+wgUserName+'/Status',newString,'stato modificato in "' + newStatus + '"');
	
	// e chiudi il popup
	RemoveNode('inlinePopupDiv');
}

function addToolBoxLinks()
{
        cur_user = "";
        if (wgPageName.substr(0,7) == "Utente:")
        {
            if (wgPageName.indexOf('/') != -1) // se siamo in una sottopagina dell'utente
                cur_user = wgPageName.substr(7, wgPageName.indexOf('/') - 7);
            else
                cur_user = wgPageName.substr(7);
        }
        if (wgPageName.substr(0,19) == "Discussioni_utente:")
        {
            if (wgPageName.indexOf('/') != -1) // se siamo in una sottopagina della discussione dell'utente
                cur_user = wgPageName.substr(19, wgPageName.indexOf('/') - 19);
            else
                cur_user = wgPageName.substr(19);
        }
        
        // trasforma gli underscore in spazi
        while (cur_user.indexOf("_") != -1)
        {
           temp = cur_user.substr(0,cur_user.indexOf("_"));
           temp += " ";
           temp += cur_user.substr(cur_user.indexOf("_")+1);
           cur_user = temp;
        }
        
        if (cur_user != "") //Se siamo in una pagina/sottopagina della pagina utente/discussione
            addlilink(tb, 'http://tools.wikimedia.de/~vvv/deletedcontribs.php?wiki=itwikibooks_p&user=' + cur_user, 'Delected edit (' + cur_user + ')', '');
    }    
 /* <nowiki></pre> */