Utilisateur:Lepticed7/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.
//<syntaxhighlight lang="javascript">//<pre>//<nowiki>

// Personnalisation pour LiveRC

/* ** Variables ** */

window.LiveRC_getUserCustom = function(){
  lrcDisplayDebug('getUserCustom');


  // -- Options au démarrage de LiveRC --

  try{
    addCustomOption("LiveRCFollowDisplayed", false);
    addCustomOption("NS", true);
    addCustomOption("User_HideOwnSubpage", true);
    addCustomOption("Log_newusers", false);
    addCustomOption("Log_patrol", 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' : '[[Wikipédia:Style encyclopédique|Non encyclopédique]]' , 'text' : 'Non encyclo' }
    ]);
  }catch(e){ }


  // -- Modèles d’avertissement --

  try{
    defineCustomWarningTemplates([
      { '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' : 'Contribs rémunérées' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Test 1' , 'string' : 'Test 1' , 'hasPage' : true , 'addName' : false , '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 texte' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Ajout POV' , 'string' : 'Non-neutre' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Non-encyclo' , 'string' : 'Non-encyclo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Faut sourcer' , 'string' : 'Faut sourcer' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Faux décès' , 'string' : 'Faux décès' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'LE HC' , 'string' : 'LE inadéquat' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Bienvenue spammeur' , 'string' : 'Spam LE' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'LE dans texte' , 'string' : 'LE dans texte' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Avertissement Copyvio' , 'string' : 'Copyvio' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Dernier avertissement Copyvio' , 'string' : 'Copyvio (Dernier avert)' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Avertissement Copyvio Synopsis' , 'string' : 'Copyvio (Synopsis)' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'BSI Copyvio' , 'string' : 'Copyvio (SI)' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Ortho' , 'string' : 'Ortho' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Traduction automatique' , 'string' : 'Traduction auto' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Motivation modif' , 'string' : 'Motivation modif' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Compte publicitaire' , 'string' : 'PU publicitaire' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'BSI CAA' , 'string' : 'SI CAA' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'BSI BàS' , 'string' : 'SI BàS' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'BSI promo' , 'string' : 'SI promo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'BSI canular' , 'string' : 'SI canular' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Aide sources' , 'string' : 'Aide sources' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Aide images' , 'string' : 'Aide images' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Aide wikification' , 'string' : 'Aide wikif' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Aide liens' , 'string' : 'Aide liens' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'AideMeta/Promo' , 'string' : 'Aide Promo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'AideMeta/RefLié' , 'string' : 'Aide RefLié' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'AideMeta/RefSec' , 'string' : 'Aide RefSec' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'AideMeta/TI' , 'string' : 'Aide TI' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'AideMeta/Delist' , 'string' : 'Aide Delist' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Vandalisme cracra' , 'string' : 'Vandalisme cracra' , '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.
    'MostModifiedPagesExtension',            // Ajoute une icône aux pages ayant été modifiées récemment par plusieurs utilisateurs ou ayant fait l’objet de plusieurs reverts.
    'AskForRevisionDeleteFromHistExtension', // Ajoute des cases à cocher et un bouton dans la prévisualisation d’un historique pour demander un masquage
    'BandeauPortail',                        // Permet d’ajouter/modifier/retirer un ou plusieurs bandeau de portail lors de la prévisualisation d’un article
    'MarkQuestionable'                       // Instaure un système de modifications marquées comme douteuses
  ];


//END PARAMS
//</nowiki></pre></syntaxhighlight>

// {{Catégorisation JS}}