Utente:PupyFaki/LiveRCparam.js

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

Questa pagina definisce alcuni parametri di aspetto e comportamento generale di tutte le pagine. Per personalizzarli vedi Aiuto:Stile utente.


Nota: dopo aver salvato è necessario pulire la cache del proprio browser per vedere i cambiamenti (per le pagine globali è comunque necessario attendere qualche minuto). Per Mozilla / Firefox / Safari: fare clic su Ricarica tenendo premuto il tasto delle maiuscole, oppure premere Ctrl-F5 o Ctrl-R (Command-R su Mac); per Chrome: premere Ctrl-Shift-R (Command-Shift-R su un Mac); per Konqueror: premere il pulsante Ricarica o il tasto F5; per Opera può essere necessario svuotare completamente la cache dal menù Strumenti → Preferenze; per Internet Explorer: mantenere premuto il tasto Ctrl mentre si preme il pulsante Aggiorna o premere Ctrl-F5.

//<source lang="javascript">//<pre>//<nowiki>

// Personalizzazione del LiveRC

/* ** Variabili ** */

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


  // -- Parametri LiveRC --

  try{
    addCustomParam("SandboxPage", 'Wikipedia:Sandbox');
    addCustomParam("SearchURL", 'https://google.it/#q=$1');
  }catch(e){ }


  // -- Opzioni pannello di controllo --

  try{
    addCustomOption("Diff", true);
    addCustomOption("User_AUTOPATROLLED", true);
    addCustomOption("UserG_SYSOP", true);
  }catch(e){ }


  // -- Motivi di svuotamento per tool di svuotamento automatico --

  try{
    defineCustomBlankMessages([
      { 'tooltip' : 'svuotamento' , 'resume' : 'svuotamento' }
    ]);
  }catch(e){ }


  // -- Motivi di rollback per tool di rollback automatico --

  try{
    defineCustomRevertMessages([
      { 'resume' : 'rollback' , 'text' : 'rollback' }
    ]);
  }catch(e){ }


  // -- Template di avviso per tool di avvisi automatici --

  try{
    Custom_lstAverto = [
      { 'template' : 'Test' , 'string' : 'Test' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Test2' , 'string' : 'Test (nonsense)' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'RimozioneContenuti' , 'string' : 'Rimozione contenuti' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Promozionale' , 'string' : 'Promo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Spam' , 'string' : 'Spam' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avvisocopyviol' , 'string' : 'Copyviol' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Dati personali' , 'string' : 'Dati personali' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Senza senso' , 'string' : 'Senza senso' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Oggetto' , 'string' : 'Oggetto' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'InvitoNPOV' , 'string' : 'NPOV' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AvvisoCommento' , 'string' : 'Commento' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avvisoavvisi' , 'string' : 'Rimozione avvisi' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Attacco' , 'string' : 'Attacco' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Yc' , 'string' : 'Cartellino giallo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Grazie2' , 'string' : 'Grazie (utente registrato)' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avviso evento futuro' , 'string' : 'Evento futuro (sfera)' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avviso sport futuro' , 'string' : 'Sport futuro' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AiutoA' , 'string' : 'Aiutare' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AiutoF' , 'string' : 'Senza fonti' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AiutoOL' , 'string' : 'Overlinking' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AiutoW' , 'string' : 'Sistemare' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Anteprima' , 'string' : 'Uso anteprima' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Loggati' , 'string' : 'Loggati' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Non enciclopedico' , 'string' : 'Non enciclopedico' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'WND' , 'string' : 'Dizionario' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'WNCV' , 'string' : 'Curriculum' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'subst:Benvenuto' , 'string' : 'Benvenuto' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'In italiano' , 'string' : 'Lingua straniera/traduttori automatici' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Turpiloquio' , 'string' : 'Turpiloquio' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'No sandbox in pagina utente' , 'string' : 'Sandbox in PU' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Svuotamento talk' , 'string' : 'Svuotamento talk' , 'hasPage' : false , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'NoWebHost' , 'string' : 'PU non conforme' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true }
    ];
  }catch(e){ }

}


/* ** Estensioni ** */

  LiveRC_Config['UsedLiveRCExtensions'] = [
    'HotCatsMulti',                          // Permetti di aggiungere/modificare/rimuovere una o più categorie durante l'anteprima.
    'AskForRevisionDeleteFromHistExtension', // [no sysop] Aggiungi checkbox e pulsante nella cronologia per la richiesta di cancellazione di revisioni
    'InserisciTemplate'                      // Inserisce un template di avviso in cima alla voce
  ];


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

// {{Catégorisation JS}}