Utilisateur:Guillom/monobook.js

Un article de Wikipédia, l'encyclopédie libre.

Note : Après avoir publié la page, vous devrez forcer son rechargement pour voir les changements : Mozilla / Konqueror / Firefox : Shift-Ctrl-R, Internet Explorer / Opera : Ctrl-F5, Safari : Cmd-R.

/*  <pre><nowiki> */
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=Utilisateur:GôTô/objects.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
function setSummary(str)
{
	document.editform.wpSummary.value = str
}
 
function addToSummary(str)
{
	document.editform.wpSummary.value += " " + str
}
 
function setTextarea (str)
{
	document.editform.wpTextbox1.value = str
}
 
function getArticleName()
{
        var strOut = document.title
        // case search
        if (strOut == "Rechercher - Wikipédia")
                return document.getElementById("lsearchbox").value
        // case article being modified
        strOut = strOut.replace("modification de ", "").replace(" - Modifier", "")
 
        strOut = strOut.replace(" - Prévisualiser", "").replace(" - Wikipédia", "")
        return strOut
}
 
function insertAfter(parent, node, referenceNode)
{
	parent.insertBefore(node, referenceNode.nextSibling)
}
 
 
 
 
 
 
/* =========================================== RACCOURCIS DE NAVIGATION (onglets) ============================================ */
 
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Guillom/monobook/raccourcis.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
 
/* ================================================ DELUXE SUMMARY ================================================= */
 
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Guillom/monobook/deluxeSummary.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
/* ================================================== Barre d'édition complétée =================================================== */
 
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Guillom/monobook/deluxeBar.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
/* ============================================= FUSION D'HISTORIQUES ============================================== */
 
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Guillom/monobook/fusion.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
 
/* ================================================================================================================= */
 
 
loadJs('Utilisateur:Maloq/AC_Functions.js')
 
/* </nowiki></pre> */
 
var oldEditsectionLinks = true;