Utente:Superpes15/LiveRCparam.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
creo
 
Processo di rinomina OTRS -> VRTS, Phab:T280392
 
(17 versioni intermedie di un altro utente non mostrate)
Riga 1:
//<source lang="javascript">//<pre>//<nowiki>
*/
 
// Personalizzazione del LiveRC
var lrcRCLimit = 30; // LiveRC default RC list size;
var lrcPreviewHeight = '250px'; // LiveRC default preview window height;
var lrcAutoCloseDiff = 0; // LiveRC default Diff behaviour;
var lrcTZ = ''; // Default time zone (+02:00, 02:00, -0200, -05:45, ...)
 
/* ** Variabili ** */
/*
*/
 
window.LiveRC_getUserCustom = function(){
// Category translation;
lrcDisplayDebug('getUserCustom');
// /////////////////////
var lang_category = 'Categoria:';
 
// Menu translation;
// /////////////////
var lang_menu = [ {
PAUSE: "Pausa",
PREVIEW: "Anteprima",
LISTS: "Liste",
LOWDIFF: "Diff ridotti",
RCLABEL: "Pannello",
RCSHOW: "RC",
LOGSHOW: "Log",
NOBOTS: "Niente Bot",
IPONLY: "Solo IP",
NAMESP: "Namespace",
XTIMES: "volte",
UNDORC: "Annulla",
CANCIMM: "Cancella subito",
CANCCV: "Cancella x copyviol",
REVERT: "Rollback",
REASON: "Motivazione",
REASON2: "Motivazione o URL",
AVERTS: "Avvisare",
VERIF: "Segna come verificata",
RVMES1: "[[Wikipedia:Monobook.js/LiveRC/Documentazione|LiveRC]] : Annullata la modifica di",
RVMES2: "ritorno alla versione di",
EMPTY: "Svuotata"
} ];
 
// -- Template di avviso per tool di avvisi automatici --
// Comments test table (regexp format);
// ////////////////////////////////////
var commenttests = [
{ state: BLANKING , regex: /^Pagina svuotata completamente/ },
{ state: REPLACED , regex: /^Pagina sostituita con/ },
{ state: REVERT , regex: /^LiveRC : Annullata la modifica|[Aa]nnullata la modifica|[Aa]nnullate le modifiche|[Aa]nnullata\]\] la modifica/ }
];
 
try{
// Categories test table (regexp format);
defineCustomWarningTemplates([
var categoriestests = [
{ 'template' : 'Test' , 'string' : 'Test' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ state: LOCK , regex: '.*protett[i|e] parzialmente$' },
{ 'template' : 'Vandalismo' , 'string' : 'Vandalismo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ state: FULLLOCK , regex: '.*protett[i|e]$' },
{ 'template' : 'IP Vandalismo' , 'string' : 'IP Vandalismo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ state: HOMONYMIE , regex: 'Disambigua' },
{ 'template' : 'Avvisocopyviol' , 'string' : 'Violazione di copyright' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ state: ADQ , regex: 'Voci in vetrina' },
{ 'template' : 'Avvisocopyviol|VRTS=no' , 'string' : 'Violazione di copyright (no VRTS)' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ state: COPYRIGHT , regex: 'Sospette violazioni di copyright' },
{ 'template' : 'Spam' , 'string' : 'Spam' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ state: PAS , regex: 'Avvisi di cancellazione' }
{ 'template' : 'Promozionale' , 'string' : 'Promozionale' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
];
{ 'template' : 'Senza senso' , 'string' : 'Senza senso' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisoimmagine' , 'string' : 'Immagine senza informazioni' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Dati personali' , 'string' : 'Dati personali' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Benvenuto' , 'string' : 'Benvenuto' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'Grazie' , 'string' : 'Grazie' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Oggetto' , 'string' : 'Oggetto' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Yc' , 'string' : 'Cartellino giallo' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : false },
{ 'template' : 'WNB' , 'string' : 'WNB' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WND' , 'string' : 'WND' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNF' , 'string' : 'WNF' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNCV' , 'string' : 'WNCV' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'WNRO' , 'string' : 'WNRO' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Turpiloquio' , 'string' : 'Turpiloquio' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisoavvisi' , 'string' : 'Avvisoavvisi' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Loggati' , 'string' : 'Loggati' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'InvitoNPOV' , 'string' : 'Invito NPOV' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avviso sport futuro' , 'string' : 'Sport futuro' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avvisosenzafonti' , 'string' : 'Senza fonti' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'AvvisoCommento' , 'string' : 'Avviso Commento' , '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' : 'ProposteCommenti' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'TempoRelativo' , 'string' : 'TempoRelativo' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'RimozioneContenuti' , 'string' : 'RimozioneContenuti' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Non enciclopedico' , 'string' : 'Non enciclopedico' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Avviso evento futuro' , 'string' : 'Evento futuro' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'InserimentoImmagini' , 'string' : 'Inserimento immagini' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'AvvisoW' , 'string' : 'Avviso WWE futuro' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Pagina utente promozionale' , 'string' : 'Pagina utente promozionale' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'AiutoOL' , 'string' : 'AiutoOL (over wikilinking)' , 'hasPage' : true , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Non hai firmato' , 'string' : 'Non hai firmato' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Sii audace' , 'string' : 'Sii audace' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'No sandbox in pagina utente' , 'string' : 'No sandbox in pagina utente' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true },
{ 'template' : 'Svuotamento talk' , 'string' : 'Svuotamento talk' , 'hasPage' : false , 'addName' : false , 'addSectionTitle' : true }
]);
}catch(e){ }
 
}
// LiveRC default template use;
// ////////////////////////////
var lstAvert = [
{ template: "Test" , string: "Test" , hasPage: true },
{ template: "Vandalismo" , string: "Vandalismo" , hasPage: true },
{ template: "IP Vandalismo" , string: "IP Vandalismo" , hasPage: false },
{ template: "Avvisocopyviol" , string: "Violazione di copyright" , hasPage: true },
{ template: "Avvisocopyviol|OTRS=no" , string: "Violazione di copyright (no OTRS)" , hasPage: true },
{ template: "Promozionale" , string: "Promozionale" , hasPage: true },
{ template: "Non enciclopedico" , string: "Non enciclopedico" , hasPage: true },
{ template: "Senza senso" , string: "Senza senso" , hasPage: true },
{ template: "Avvisoimmagine" , string: "Immagine senza informazioni" , hasPage: true },
{ template: "InserimentoImmagini" , string: "Inserimento immagine scorretto" , hasPage: true },
{ template: "Dati personali" , string: "Dati personali" , hasPage: true },
{ template: "Benvenuto" , string: "Benvenuto" , hasPage: false },
{ template: "Grazie" , string: "Grazie" , hasPage: true },
{ template: "Oggetto" , string: "Oggetto" , hasPage: true },
{ template: "Yc" , string: "Cartellino giallo" , hasPage: false },
{ template: "WNB" , string: "WNB" , hasPage: true },
{ template: "WND" , string: "WND" , hasPage: true },
{ template: "WNF" , string: "WNF" , hasPage: true },
{ template: "WNCV" , string: "WNCV" , hasPage: true },
{ template: "WNRO" , string: "WNRO" , hasPage: true },
{ template: "Turpiloquio" , string: "Turpiloquio" , hasPage: true },
{ template: "Avvisoavvisi" , string: "Avvisoavvisi" , hasPage: true },
{ template: "Loggati" , string: "Loggati" , hasPage: true },
{ template: "InvitoNPOV" , string: "Invito NPOV" , hasPage: true },
{ template: "Avviso sport futuro" , string: "Sport futuro" , hasPage: true },
{ template: "AiutoF" , string: "AiutoF" , hasPage: true },
{ template: "AiutoW" , string: "AiutoW" , hasPage: true },
{ template: "AiutoA" , string: "AiutoA" , hasPage: true },
{ template: "AvvisoCommento" , string: "Avviso Commento" , hasPage: true },
{ template: "In italiano" , string: "In italiano" , hasPage: false },
{ template: "Anteprima" , string: "Anteprima" , hasPage: false },
{ template: "Attacco" , string: "Attacco" , hasPage: true },
{ template: "ProposteCommenti" , string: "ProposteCommenti" , hasPage: true },
{ template: "TempoRelativo" , string: "TempoRelativo" , hasPage: true },
{ template: "RimozioneContenuti" , string: "RimozioneContenuti" , hasPage: true },
{ template: "Firmati" , string: "Firmati" , hasPage: false }
];
 
 
/*
/* ** Estensioni ** */
 
LiveRC_Config['UsedLiveRCExtensions'] = [
'InserisciTemplate' // Inserisce un template di avviso in cima alla voce
];
 
 
//END PARAMS
//</nowiki></pre></source>
 
// {{Catégorisation JS}}