Utilisateur:Chico75/monobook.js

Une page de Wikipédia, l'encyclopédie libre.
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;

Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
importScript('Utilisateur:Argos42/PaStec.js');
importScript('User:EDUCA33E/LiveRC.js');
var wgBotName = 'Chicobot';
var botlinksversion = 2;
importScript('Utilisateur:ZX81-bot/Script/botlinks.js');

/*
 * Deluxe Bar
 *
 * Barre d'outils d'édition étendue
 *
 * Auteur : Dake
 * Dernière révision : 3 novembre 2006
 */

//////////////////////ZONE PERSONNALISABLE//////////////////////
var deluxebarMessages = new Array();
var deluxebarImages = new Array();
var deluxebarCommentaires = new Array();

with (deluxebarMessages) {
        push("{{subst:" + "Bienvenue sur ta page"  + "}}" +  "~~" + "~~");
        push("{{subst:" + "Bienvenue" + "}}" +  "~~" + "~~");
        push("{{subst:" + "Vandale bloqué" + "}}" +  "~~" + "~~");
        push("{{subst:" + "Vandalisme|page" + "}}" +  "~~" + "~~");
        push("{{subst:" + "Bienvenue spammeur" + "}}" +  "~~" + "~~");
        push("{{subst:" + "Fait}}" + "~~" + "~~");
}
with (deluxebarImages) {
        push("http://upload.wikimedia.org/wikipedia/fr/1/12/Button_accueilA.png");
        push("http://upload.wikimedia.org/wikipedia/fr/e/eb/Button_accueilB.png");
        push("http://upload.wikimedia.org/wikipedia/fr/0/00/Button_vandale.png");
        push("http://upload.wikimedia.org/wikipedia/fr/a/ad/Button_vandale2.png");
        push("http://upload.wikimedia.org/wikipedia/fr/f/fb/Button_spam2.png");
        push("http://upload.wikimedia.org/wikipedia/fr/d/d9/Button_trait%C3%A9.png");
}

with (deluxebarCommentaires) {
        push("Bienvenue sur ta page !");
        push("Bienvenue !");
        push("Blocage d'un vandale");
        push("Avertissement vandalisme");
        push("Avertissement spam" );
        push("Fait");
}
/////////////////FIN DE LA ZONE PERSONNALISABLE/////////////////

function DeluxeBar() {
        if (document.createTextNode) {
                var toolbar = document.getElementById("toolbar");
                if (!toolbar) return;


                for (var i=0;i<deluxebarMessages.length;i++) {
                        var img = document.createElement("img");
                        img.setAttribute("src", deluxebarImages[i]);

                        var ref = document.createElement("a");
                        ref.setAttribute("href", "javascript:insertTags('', \"" + deluxebarMessages[i] + "\", '');" +
                                        "javascript:changeSummary(\"" + deluxebarCommentaires[i] + "\");" );
                        ref.appendChild(img);

                        toolbar.appendChild(ref);
                }
        }
}       
$(DeluxeBar);
obtenir("LiensRouges");
obtenir("RevertDiff");
obtenir("BistroDuJour");
obtenir("LastContrib");
/* document.write('<SCRIPT SRC="http://fr.wikipedia.org/w/index.php?title=Utilisateur:JoKerozen/projet_boiteperso.js&action=raw&ctype=text/javascript><\/SCRIPT>');
*/
importScript('Utilisateur:Maloq/AC_Functions.js');
importScript('Utilisateur:Lgd test/geoloc.js');

function hotcat_UserCustom(){ 
     hotcat_suggestion_delay = 2000;
}