Utilisateur:RG067/LiveRCparam.js
//<syntaxhighlight lang="javascript">//<pre>//<nowiki>
// Personnalisation pour LiveRC
/* ** Variables ** */
window.LiveRC_getUserCustom = function(){
lrcDisplayDebug('getUserCustom');
// -- Paramètres de LiveRC --
try{
addCustomParam("TZ", '+02:00');
addCustomParam("lrcXUWColorRecentWarning", '#FF0000');
}catch(e){ }
// -- Options au démarrage de LiveRC --
try{
addCustomOption("Log", false);
addCustomOption("User_ShowAllSelf", false);
addCustomOption("User_ShowAllContact", false);
addCustomOption("User_ShowAllWatchlist", false);
addCustomOption("User_ShowAllRevert", false);
addCustomOption("User_ShowAllBlanking", false);
addCustomOption("User_ShowAllReplaced", false);
addCustomOption("Log_upload", false);
addCustomOption("Log_newusers", false);
addCustomOption("Log_patrol", false);
addCustomOption("Log_move", false);
addCustomOption("Log_merge", false);
addCustomOption("Log_protect", false);
addCustomOption("Log_delete", false);
addCustomOption("Log_block", false);
addCustomOption("Log_rights", false);
addCustomOption("Log_import", false);
addCustomOption("Log_managetags", false);
addCustomOption("Log_tag", false);
}catch(e){ }
// -- Résumés de révocation --
try{
defineCustomRevertMessages([
{ 'resume' : '[[Wikipédia:Bac à sable|Bac à sable]]' , 'text' : 'Bac à sable' },
{ 'resume' : '[[Wikipédia:Vandalisme|Vandalisme]]' , 'text' : 'Vandalisme' },
{ 'resume' : 'Traduction automatique' , 'text' : 'Trad auto' },
{ 'resume' : 'Modification non sourcée' , 'text' : 'Non sourcé' }
]);
}catch(e){ }
}
/* ** Extensions ** */
LiveRC_Config['UsedLiveRCExtensions'] = [
'UserWarningsExtension' // Ajoute une icône aux utilisateurs ayant reçu un avertissement. En option, indique si la page de discussion de l’utilisateur existe ou non.
];
//END PARAMS
//</nowiki></pre></syntaxhighlight>
// ((Catégorisation JS))
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.