Utilisateur:Fabrice Ferrer 2/igloo.js
Apparence
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) ;
Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5./* ======================================================== *\
** igloo frontend manager - main
**
** The igloo frontend manager handles the client system,
** displaying information to the user, as well as allowing
** the user to interact with the program, as well as
** handling connection and authentication with the server.
**
** ====================================================== **
** igloo anti-vandalism tool for Wikipedia
** created by Alex Barley [[User:Ale_jrb]]
** copyright (c) Alex Barley - Some Rights Reserved
**
** For instructions, see [[:en:User:Ale_jrb/Scripts/igloo]]
** ====================================================== **
**
** You may copy, modify and distribute this software as
** desired, providing that all previous contributors retain
** correct attribution.
**
** ====================================================== **
** tracker: [[:en:User:Ale_jrb/Scripts/igloo]]
\* ======================================================== */
function iglooImport( page, remote, id ) {
var c = new Date ();
var cachebypass = '&killcache=' + c.getDate () + c.getSeconds () + c.getMilliseconds ();
if ( ( remote == null ) || ( remote == false ) ) {
var url = mw.config.get('wgScript') + '?action=raw&ctype=text/javascript' + cachebypass + '&title=' + encodeURIComponent( page.replace( / /g,'_' ) );
} else {
var url = page;
}
if ( document.getElementById ( id ) != null ) {
document.getElementById ( id ).parentNode.removeChild ( document.getElementById ( id ) );
}
var script = document.createElement ( 'script' );
script.setAttribute ( 'src', url );
script.setAttribute ( 'type', 'text/javascript' );
if ( id != null ) script.setAttribute ( 'id', id );
document.getElementsByTagName ( 'head' )[0].appendChild ( script );
return script;
}
if ( typeof iglooUseDev !== 'undefined' ) {
iglooImport ( 'User:Fabrice Ferrer 2/iglooDevSettings.js' );
iglooImport ( 'User:Fabrice Ferrer 2/iglooDevInterfaceHook.js' );
} else {
iglooImport ( 'User:Fabrice Ferrer 2/iglooSettings.js' );
iglooImport ( 'User:Fabrice Ferrer 2/iglooInterfaceHook.js' );
}
iglooImport ( 'User:Fabrice Ferrer 2/Nforcer.js' );
iglooImport ( 'User:Fabrice Ferrer 2/waLib.js' );
iglooImport ( 'User:Fabrice Ferrer 2/waLib2.js ');