MediaWiki:Gadget-LiveRC 1x.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Ripristino alla versione 68579250 datata 2014-10-10 07:13:29 di Jalo tramite popup |
||
Riga 10:
+ '&action=raw&ctype=text/javascript');
}
function LiveRC_getSiteCustom(){
// Here comes the configuration
try{
lrcParams["PageTitle"] = "Wikipedia:LiveRC"; // Pagina principale del LiveRC
lrcParams["TZ"] = '+01:00'; // Fuso orario (+02:00, 02:00, -0200, -05:45, ...)
▲ "SandboxPage" : "Wikipedia:Pagina delle prove",
▲ "TchatChannel" : "#wikipedia-it-liverc",
▲ "SubstWarnings" : false
UnTranslatedTexts["ON_ARTICLE"] = "su";
▲ MWSiteGlobalLegend: "Configurazione locale di Mediawiki",
▲ MWGeneralConfigLegend: "Configurazione generale di Mediawiki",
▲ MWLanguagesLegend: "Lingue supportate",
▲ MWMessagesLegend: "Messaggi di sistema",
▲ MWExtensionsLegend: "Estensioni Mediawiki",
▲ MWNamespacesLegend: "Namespace",
▲ MWMagicwordsLegend: "Magic word",
▲ MWInterwikimapLegend: "Tabella interwiki",
▲ TAG_RESUME: "Template",
▲ USERMSG_RESUME: "Avviso",
▲ EMPTY_RESUME: "Svuotamento",
▲ USERTHANK_RESUME: "Ringraziamento",
▲ BLOCKTEMPLATE: "Blocco",
▲ RESUMESTART: "[[WP:LRC|LiveRC]]: ",
▲ Comment: "Personalizzazione per LiveRC"
{ 'template':'Test', 'string':'Test', 'hasPage':true, 'addName':false, 'addSectionTitle':true },
{ 'template':'Vandalismo', 'string':'Vandalismo', 'hasPage':true, 'addName':false, 'addSectionTitle':true },
Riga 81 ⟶ 74:
// We insert the argument too. This is unusable on it.wiki
//
// { template: "W" , string: "W" , withDate: "$month $year" },
// { template: "S" , string: "S" , withDate: "" },
Riga 88 ⟶ 81:
// ];
{tooltip: "copyvio" , resume: "
{tooltip: "sandbox" , resume: "sandbox" },
{tooltip: "vandalismo" , resume: "vandalismo" }
];
{ resume: "Sandbox" , text: "Sandbox" },
{ resume: "Vandalismo" , text: "Vandalismo" },
Riga 102 ⟶ 95:
// su it.wiki non usiamo template per richieste agli admin
// { userright:"delete",
// text:"REPORTING_DELETION",
Riga 123 ⟶ 116:
];
{ state: "REVERT" , icon:"RevertIcon", class:"RcRevert", regex: /LiveRC : Annullata la modifica|[Aa]nnullata la modifica|[Aa]nnullate le modifiche|[Aa]nnullata\]\] la modifica|Ripristino alla versione /, hide:false},
{ state: "BLANKING" , icon:"BlankingIcon", class:"RcBlanking", regex: /Pagina svuotata completamente/ , hide:false},
Riga 135 ⟶ 128:
];
{ state: "PORTAIL" , icon:"" , class:"RcPortail" , template: "Portale" },
{ state: "RECENT" , icon:"RecentIcon" , class:"RcRecent" , template: "Recentismo" },
Riga 146 ⟶ 139:
];
{ state: "ADQ" , icon:"AdQIcon" , class:"RcADQ", regex: /Voci in vetrina - /},
{ state: "BA" , icon:"BAIcon" , class:"RcBA", regex: /Voci di qualità - /},
Riga 155 ⟶ 148:
// su it.wiki, al momento, non abbiamo questo genere di categorie
//
// { state: "SCOLARIP" , icon:"ScolarIPIcon" , class:"RcScolarIP", category: "Indirizzi IP scolastici"},
// { state: "SHAREDIP" , icon:"SharedIPIcon" , class:"RcSharedIP", category: "Indirizzi IP condivisi"},
Riga 169 ⟶ 162:
LiveRC_DeleteExtension("InstallAndConfigLiveRCExtension");
▲ "name":"InserisciTemplate",
▲ "url":"//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js",
MyExtension["neededright"] = "";
▲ "desc":"Inserisce un template di avviso in cima alla voce",
LiveRC_AddNewExtension(MyExtension);
}catch(e){ }
}
//</source>
|