Utente:Adalhard/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("SearchURL", '');
    addCustomParam("PreviewWindowHeight", '480px');
    addCustomParam("ShowArticleLength", false);
    addCustomParam("ShowTimer", false);
    addCustomParam("LoadUsersInGroupsList", false);
    addCustomParam("LoadIPCat", false);
    addCustomParam("LoadLastBlocks", false);
    addCustomParam("GetPageInfos", false);
    addCustomParam("GetFileInfos", false);
  }catch(e){ }


  // -- Opzioni pannello di controllo --

  try{
    addCustomOption("LiveRCPreviewDisplayed", true);
    addCustomOption("LiveRCFollowDisplayed", false);
    addCustomOption("Log", false);
    addCustomOption("User_ShowAllSelf", false);
    addCustomOption("User_ShowAllRevert", false);
    addCustomOption("DisplayliveAbuseLog", false);
    addCustomOption("DisplayliveTag", false);
    addCustomOption("DisplayliveNewUsers", false);
    addCustomOption("DisplayliveNewPages", false);
    addCustomOption("Log_patrol", false);
    addCustomOption("Log_delete", false);
    addCustomOption("Log_block", false);
    addCustomOption("Log_abusefilter", false);
    addCustomOption("Log_abuselog", false);
    addCustomOption("Log_thanks", false);
  }catch(e){ }


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

  try{
    defineCustomWarningTemplates([
      { 'template' : 'Test' , 'string' : 'Test' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'RimozioneContenuti' , 'string' : 'RimozioneContenuti' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Avvisosenzafonti' , 'string' : 'Senza fonti' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Yc' , 'string' : 'Ultimo Avviso' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
      { 'template' : 'Promozionale' , 'string' : 'Promozionale' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Avviso sport futuro' , 'string' : 'Avviso sport futuro' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Senza senso' , 'string' : 'Senza senso' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'InserimentoImmagini' , 'string' : 'Inserimento Immagini' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Dati personali' , 'string' : 'Dati personali' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'AvvisoCommento' , 'string' : 'Avviso Commento' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Oggetto' , 'string' : 'Oggetto' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WNRI' , 'string' : 'Non è una raccolta indiscriminata' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Non enciclopedico' , 'string' : 'Non enciclopedico' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WND' , 'string' : 'Non è un dizionario' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WNF' , 'string' : 'Non è un forum' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WNCV' , 'string' : 'Non è un Curriculum Vitæ' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WNRO' , 'string' : 'Niente ricerche originali' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'WNN' , 'string' : 'Non è un notiziario' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Avvisoavvisi' , 'string' : 'Rimozione avvisi' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Loggati' , 'string' : 'Loggati' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'InvitoNPOV' , 'string' : 'Punto di vista neutrale' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Avviso evento futuro' , 'string' : 'Avviso evento futuro' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Svuotamento talk' , 'string' : 'Svuotamento talk' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'In italiano' , 'string' : 'In italiano' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Anteprima' , 'string' : 'Anteprima' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Attacco' , 'string' : 'Attacco' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'ProposteCommenti' , 'string' : 'Proposte in discussioni' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'TempoRelativo' , 'string' : 'TempoRelativo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'NoWebHost' , 'string' : 'NoWebHost' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Svuotamento talk' , 'string' : 'Svuotamento talk' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
      { 'template' : 'Firma' , 'string' : 'Firma' , 'hasPage' : false , '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}}