Utilisateur:Durifon/LiveRCparam.js
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.//<source lang="javascript">//<pre>//<nowiki>
// Personnalisation pour LiveRC
/* ** Variables ** */
window.LiveRC_getUserCustom = function(){
lrcDisplayDebug('getUserCustom');
// -- Paramètres de LiveRC --
try{
addCustomParam("TZ", '+02:00');
addCustomParam("UseMiniDiff", true);
addCustomParam("AutoCloseDiff", true);
}catch(e){ }
// -- Options au démarrage de LiveRC --
try{
addCustomOption("LiveRCFollowDisplayed", 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_newusers", false);
addCustomOption("Log_patrol", false);
addCustomOption("Log_thanks", false);
addCustomOption("DisplayliveNewUsers", 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' : 'Retrait d’information non sourcée' , 'text' : 'Non-sourcé' },
{ 'resume' : 'Traduction automatique' , 'text' : 'Trad auto' },
{ 'resume' : 'Promotionnel' , 'text' : 'Promotionnel' },
{ 'resume' : 'Copyvio' , 'text' : 'Copyvio' }
]);
}catch(e){ }
// -- Modèles d’avertissement --
try{
defineCustomWarningTemplates([
{ 'template' : 'Test 0' , 'string' : 'Test 0' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Test 1' , 'string' : 'Test 1' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Test 2' , 'string' : 'Test 2' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Test 3' , 'string' : 'Test 3' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Seul avertissement' , 'string' : 'Test 4' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Retrait injustifié' , 'string' : 'Retrait injustifié' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Motivation modif' , 'string' : 'Résumé' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'LE HC' , 'string' : 'LE hors-critères' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'LE dans texte' , 'string' : 'LE dans texte' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Spammeur' , 'string' : 'Spam' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Ortho' , 'string' : 'Ortho' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Ajout POV' , 'string' : 'Non-neutre' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Non-encyclo' , 'string' : 'Non-encyclo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Faut sourcer' , 'string' : 'Faut sourcer' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Maladresse' , 'string' : 'Modif corrigée' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Suppr Bandeaux' , 'string' : 'Bandeaux' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Bienvenue Copyvio 1' , 'string' : 'Copyright' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Compte publicitaire' , 'string' : 'PU publicitaire' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'BSI CAA' , 'string' : 'BSI CAA' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'BSI BàS' , 'string' : 'BSI BàS' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'BSI promo' , 'string' : 'BSI promo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'BSI canular' , 'string' : 'BSI canular' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Aide sources' , 'string' : 'Aide sources' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Aide images' , 'string' : 'Aide images' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Aide wikification' , 'string' : 'Aide wikif' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Aide liens' , 'string' : 'Aide liens' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'AideMeta/Promo' , 'string' : 'Aide BandoPromo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'AideMeta/RefLié' , 'string' : 'Aide BandoRefLié' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'AideMeta/RefSec' , 'string' : 'Aide BandoRefSec' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'AideMeta/TI' , 'string' : 'Aide BandoTI' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'AideMeta/Delist' , 'string' : 'Aide BandoDelist' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Bienvenue' , 'string' : 'Bienvenue' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Bienvenue IP' , 'string' : 'Bienvenue IP' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Bienvenue IP méritante' , 'string' : 'Bienvenue IP +' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
{ 'template' : 'Contributions rémunérées' , 'string' : 'Contributions rémunérées' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false }
]);
}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.
'RunCommonJS' // Améliore la prévisualisation avec des fonctions du Common.js (boîtes déroulantes, palettes, etc...)
];
//END PARAMS
//</nowiki></pre></source>
// {{Catégorisation JS}}