Utente:Dimitrij Kasev/LiveRCparam.js

Versione del 24 ago 2015 alle 18:29 di Dimitrij Kasev (discussione | contributi) (LiveRC : Personnalisation pour LiveRC)

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("TchatChannel", '#wikipedia-it-liverc');
  }catch(e){ }


  // -- Opzioni pannello di controllo --

  try{
    addCustomOption("User", false);
    addCustomOption("User_REGISTRED", false);
    addCustomOption("User_NEWBIE", false);
    addCustomOption("Log_newusers", false);
  }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' : false },
      { 'template' : 'Test2' , 'string' : 'Test2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'RimozioneContenuti' , 'string' : 'RimozioneContenuti' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Promozionale' , 'string' : 'Promo' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Spam' , 'string' : 'Spam' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'ViolazioneCopyright' , 'string' : 'Copyviol' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Date personali' , 'string' : 'Date personali' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Senza senso' , 'string' : 'Senza senso' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Spammeur' , 'string' : 'Spam' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Oggetto' , 'string' : 'Oggetto' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'InvitoNPOV' , 'string' : 'NPOV' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'AvvisoCommento' , 'string' : 'AvvisoCommento' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Avvisoavvisi' , 'string' : 'Avvisoavvisi' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Attacco' , 'string' : 'Attacco' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Yc' , 'string' : 'Yc' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Rc' , 'string' : 'Rc' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false },
      { 'template' : 'Grazie2' , 'string' : 'Grazie2' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : true },
      { 'template' : 'Avviso sport futuro' , 'string' : 'Avviso sport futuro' , 'hasPage' : true , 'addName' : true , 'addSectionTitle' : false }
    ]);
  }catch(e){ }

}


/* ** Estensioni ** */

  LiveRC_Config['UsedLiveRCExtensions'] = [
  ];


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

// {{Catégorisation JS}}