Utente:Nilo1926/LiveRCparam.js
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.
//<syntaxhighlight lang="javascript">//<pre>//<nowiki>
// Personalizzazione del LiveRC
/* ** Variabili ** */
window.LiveRC_getUserCustom = function(){
lrcDisplayDebug('getUserCustom');
// -- Motivi di rollback per tool di rollback automatico --
try{
defineCustomRevertMessages([
{ 'resume' : 'possibile test' , 'text' : 'possibile test' },
{ 'resume' : 'vandalismo' , 'text' : 'vandalismo' },
{ 'resume' : 'senza fonte' , 'text' : 'senza fonte' }
]);
}catch(e){ }
// -- Template di avviso per tool di avvisi automatici --
try{
defineCustomWarningTemplates([
{ 'template' : 'Test' , 'string' : 'Test' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'IP Vandalismo' , 'string' : 'IP Vandalismo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Avvisocopyviol' , 'string' : 'Violazione di copyright' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisocopyviol|OTRS=no' , 'string' : 'Violazione di copyright (no OTRS)' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Spam' , 'string' : 'Spam' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Promozionale' , 'string' : 'Promozionale' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Senza senso' , 'string' : 'Senza senso' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisoimmagine' , 'string' : 'Immagine senza informazioni' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Dati personali' , 'string' : 'Dati personali' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Benvenuto' , 'string' : 'Benvenuto' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Oggetto' , 'string' : 'Oggetto' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Yc' , 'string' : 'Cartellino giallo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNB' , 'string' : 'WNB' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WND' , 'string' : 'WND' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNF' , 'string' : 'WNF' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNCV' , 'string' : 'WNCV' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNRO' , 'string' : 'WNRO' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Turpiloquio' , 'string' : 'Turpiloquio' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisoavvisi' , 'string' : 'Avvisoavvisi' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Loggati' , 'string' : 'Loggati' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'InvitoNPOV' , 'string' : 'Invito NPOV' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avviso sport futuro' , 'string' : 'Sport futuro' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisosenzafonti' , 'string' : 'Senza fonti' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'AvvisoCommento' , 'string' : 'Avviso Commento' , 'hasPage' : false , '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' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'ProposteCommenti' , 'string' : 'ProposteCommenti' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'TempoRelativo' , 'string' : 'TempoRelativo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'RimozioneContenuti' , 'string' : 'RimozioneContenuti' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true }
]);
}catch(e){ }
// -- Icone utilizzate da LiveRC --
try{
addCustomIcon("AdQIcon", { 'type' : 1 , 'src' : 'c/c0/Crystal_Clear_action_bookmark.svg' , 'width' : 10 , 'height' : 10 });
addCustomIcon("APDQIcon", { 'type' : 1 , 'src' : 'c/cc/Crystal_Clear_action_bookmark_doubt.svg' , 'width' : 10 , 'height' : 10 });
addCustomIcon("BAIcon", { 'type' : 1 , 'src' : 'e/e9/Crystal_Clear_action_bookmark_Silver.svg' , 'width' : 10 , 'height' : 10 });
addCustomIcon("HomonIcon", { 'type' : 0 , 'src' : '4/46/Disambigua_compass.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("StubIcon", { 'type' : 0 , 'src' : '0/0e/Puzzle_stub.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("PaSIcon", { 'type' : 0 , 'src' : '7/7d/User-trash-full-4.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("CopyrightIcon", { 'type' : 0 , 'src' : 'c/cf/Copyright-problem.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("RecentIcon", { 'type' : 0 , 'src' : 'b/b1/Ambox_outdated_content.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("R3RIcon", { 'type' : 0 , 'src' : '2/26/R3R_modern_logo.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("WIPIcon", { 'type' : 0 , 'src' : '6/6a/Under_construction_icon-orange.svg' , 'width' : 16 , 'height' : 13 });
addCustomIcon("LockIcon", { 'type' : 0 , 'src' : 'a/a5/Semi-protection-shackle-itwiki.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("ExtendedLockIcon", { 'type' : 0 , 'src' : 'f/f1/AV-protection-shackle-itwiki.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("FullLockIcon", { 'type' : 0 , 'src' : '3/35/Total-protection-shackle-itwiki.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("RedirectIcon", { 'type' : 0 , 'src' : '3/31/Redirect_arrow_without_text.svg' , 'width' : 16 , 'height' : 10 });
addCustomIcon("MoveIcon", { 'type' : 0 , 'src' : '7/79/Rename_icon.svg' , 'width' : 16 , 'height' : 16 });
addCustomIcon("ThanksIcon", { 'type' : 0 , 'src' : '5/50/Crystal_Clear_app_amor.svg' , 'width' : 16 , 'height' : 16 });
}catch(e){ }
// -- Descrizione dei parametri di LiveRC --
try{
addCustomTradToTranslatedParamDesc("DesclrcTranslatedParamDesc", { 'it' : 'Descrizione dei parametri di LiveRC' });
addCustomTradToTranslatedParamDesc("DescDisplayliveTag", { 'it' : 'Mostra log etichette' });
addCustomTradToTranslatedParamDesc("DescshowTags_StandardDesc", { 'it' : 'Checkboxes "Etichette": descrizione standard' });
addCustomTradToTranslatedParamDesc("DescLockIcon_Title", { 'it' : 'Tooltip dell\'icona di protezione agli "autoconfermati"' });
}catch(e){ }
// -- Testi non traducibili --
try{
addCustomUnTranslatedText("MWInterwikimapLegend", 'Tabella interwiki');
addCustomUnTranslatedText("RESUMESTART", '[[WP:LRC|LiveRC]]: ');
}catch(e){ }
}
/* ** Estensioni ** */
LiveRC_Config['UsedLiveRCExtensions'] = [
];
//END PARAMS
//</nowiki></pre></syntaxhighlight>
// {{Catégorisation JS}}