User:X!/igloo.js
/* ======================================================== *\
** 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 [[User:Ale_jrb/Scripts/igloo]]
** ====================================================== **
**
** You may copy, modify and distribute this software as
** desired, providing that all previous contributors retain
** correct attribution.
**
** ====================================================== **
** tracker: [[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:Ale_jrb/Scripts/iglooDevSettings.js' );
iglooImport ( 'User:Ale_jrb/Scripts/iglooDevInterfaceHook.js' );
} else {
iglooImport ( 'User:Ale_jrb/Scripts/iglooSettings.js' );
iglooImport ( 'User:X!/iglooInterfaceHook.js' );
}
iglooImport ( 'User:Ale_jrb/Scripts/Nforcer.js' );
iglooImport ( 'User:Ale_jrb/Scripts/waLib.js' );
iglooImport ( 'User:Ale_jrb/Scripts/waLib2.js ');
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.