Aller au contenu

Utilisateur:Rome2/LiveRCparam.js

Une page de Wikipédia, l'encyclopédie libre.
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) ;

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');
  }catch(e){ }


  // -- Résumés de blanchiment --

  try{
    defineCustomBlankMessages([
      { 'tooltip' : 'copyvio' , 'resume' : '[[WP:COPY|copie de site web sans autorisation explicite]]' },
      { 'tooltip' : 'CAA' , 'resume' : '[[WP:CAA|critères d’admissibilité non atteints]]' },
      { 'tooltip' : 'non encyclo' , 'resume' : '[[WP:P|non encyclopédique en l’état]]' },
      { 'tooltip' : 'BaS' , 'resume' : 'bac à sable' },
      { 'tooltip' : 'vandalisme' , 'resume' : 'vandalisme' },
      { 'tooltip' : 'Pas en français' , 'resume' : 'Pas en français' }
    ]);
  }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' : '[[Wikipédia:Travaux inédits|Travaux inédits]]' , 'text' : 'Insertions inédites' },
      { 'resume' : '[[Wikipédia:Neutralité de point de vue|Point de vue]]' , 'text' : 'Point de vue' },
      { 'resume' : '[[Aide:Boîte de résumé|Retrait injustifié]]' , 'text' : 'Retrait injustifié' },
      { 'resume' : '[[WP:LE|Pas de liens vers les sites de vidéo et/ou des réseaux sociaux]]' , 'text' : 'Pas de liens vers les sites de vidéo et/ou des réseaux sociaux' }
    ]);
  }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' : 'No ref wiki' , 'string' : 'No ref wiki' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue spammeur 2' , 'string' : 'Spam 2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue spammeur 3' , 'string' : 'Spam 3' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'BSI Copyvio' , 'string' : 'BSI Copyvio' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Doute admissibilité' , 'string' : 'Doute admissibilité' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'RCcopyvio' , 'string' : 'RCcopyvio' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'RCneutralité' , 'string' : 'RCneutralité' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'RCspam' , 'string' : 'RCspam' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue SI 2' , 'string' : 'Bienvenue SI 2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue SI 3' , 'string' : 'Bienvenue SI 3' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue SI 4' , 'string' : 'Bienvenue SI 4' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'U-R3R' , 'string' : 'U-R3R' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'U-R3R-2' , 'string' : 'U-R3R-2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Traduction automatique' , 'string' : 'Traduction automatique' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Faux décès' , 'string' : 'Faux décès' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Faux décès 2' , 'string' : 'Faux décès 2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Merci IP' , 'string' : 'Merci IP' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false }
    ]);
  }catch(e){ }


  // -- Textes non traduisibles --

  try{
    addCustomUnTranslatedText("RESUMESTART", '[[WP:LRC|Patrouille]] : ');
  }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.
    'MostModifiedPagesExtension',   // Ajoute une icône aux pages ayant été modifiées récemment par plusieurs utilisateurs ou ayant fait l’objet de plusieurs reverts.
    'LinkOnIconExtension',          // Lie les icônes PàS, AdQ, BA et copyvio aux pages de discussion associées.
    'LinkOnLanglinkCountExtension', // Ajoute un lien vers wikidata par dessus le compteur de liens inter-langues.
    'EditCharactersExtension',      // Améliore la fenêtre de modification avec les fonctions standards du Common.js (caractères spéciaux).
    'MarkQuestionable'              // Instaure un système de modifications marquées comme douteuses
  ];


//END PARAMS
//</nowiki></pre></source>

// {{Catégorisation JS}}