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


  // -- Opzioni pannello di controllo --

  try{
    addCustomOption("User_REGISTRED", false);
    addCustomOption("User_NEWBIE", false);
    addCustomOption("Log_newusers", false);
  }catch(e){ }


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

  try{
    defineCustomBlankMessages([
      { 'tooltip' : 'copyviol' , 'resume' : '[[WP:copyviol|copyviol]]' },
      { 'tooltip' : 'non enciclopedico' , 'resume' : '[[WP:E|non enciclopedico]]' },
      { 'tooltip' : 'vandalismo' , 'resume' : 'vandalismo' }
    ]);
  }catch(e){ }


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

  try{
    defineCustomRevertMessages([
      { 'resume' : '[[Wikipedia:Rollback|RB]]' , 'text' : 'RB' },
      { 'resume' : '[[Wikipedia:Vandalismo|Vandalismo]]' , 'text' : 'Vandalismo' }
    ]);
  }catch(e){ }


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

  try{
    defineCustomWarningTemplates([
      { 'template' : 'Test' , 'string' : 'Test' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'RimozioneContenuti' , 'string' : 'RimozioneContenuti' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Promozionale' , 'string' : 'Promo' , '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' : 'Avvisoavvisi' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Attacco' , 'string' : 'Attacco' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Yc' , 'string' : 'Yc' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Grazie2' , 'string' : 'Grazie2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avviso sport futuro' , 'string' : 'Avviso sport futuro' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'AiutoF' , 'string' : 'Avviso 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' : 'VisualizzaAnteprima' , '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 }
    ]);
  }catch(e){ }

}


/* ** Estensioni ** */

  LiveRC_Config['UsedLiveRCExtensions'] = [
    'InserisciTemplate'  // Inserisce un template di avviso in cima alla voce
  ];


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

// {{Catégorisation JS}}