Usuário(a):Chico75/LiveRCparam.js
Nota: Depois de publicar, poderá ter de contornar a cache do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
/*
==LiveWP==
*Documentation : [[:fr:User:EDUCA33E/LiveRC/Documentation]]
*Authors : [[:fr:User:EDUCA33E]] & [[:fr:User:TiChou]]
*Version: 0.3.4 (beta)
// ///////////////////////////////////// //
== Global variables / Variables globales ==
// ///////////////////////////////////// //
<pre> */
var lrcRCLimit = 50; // LiveRC default RC list size;
var lrcPreviewHeight = '150px'; // LiveRC default preview window height;
var lrcAutoCloseDiff=0; // LiveRC default Diff behaviour;
var lrcTZ = ''; // Default time zone (+02:00, 02:00, -0200, -05:45, ...)
/* </pre>
// //////////////////// //
== Internationalization ==
// //////////////////// //
<pre> */
// Category translation;
// /////////////////////
var lang_category = 'Categoria:';
// Menu translation;
// /////////////////
var lang_menu = [ {
PAUSE: "Pausa",
PREVIEW: "Previsão",
LISTS: "Listas",
LOWDIFF: "Diff simples",
RCLABEL: "LiveRC",
NOBOTS: "Não Bots",
IPONLY: "Só IP",
NAMESP: "Domínio",
XTIMES: "vezes",
UNDORC: "desfazer",
REVERT: "Reverter",
REASON: "Razão",
AVERTS: "Avisar",
RVMES1: "LiveRC: Revertida a edição de",
RVMES2: "para a última versão de",
EMPTY: "Empty"
} ];
// Comments test table (regexp format);
// ////////////////////////////////////
var commenttests = [
{ state: BLANKING , regex: /branqueio de página/ },
{ state: REPLACED , regex: /texto trocado por/ },
{ state: REVERT , regex: /^(LiveRC: )?Revert|^Desfeita a edição|^(Undid|Revert to( the)?) revision|^(Undoing|Reverted( \d+)?) edit|^r(e)?v(ert(ing|ed)?)?\b/ }
];
// Categories test table (regexp format);
var categoriestests = [
{ state: LOCK , regex: '!Páginas semiprotegidas' },
{ state: FULLLOCK , regex: '!Páginas protegidas' },
{ state: HOMONYMIE , regex: 'Desambiguação' },
{ state: ADQ , regex: '!Artigos destacados' },
{ state: BA , regex: 'Wikipedia good articles' },
{ state: APDQ , regex: 'Wikipedia featured article candidates' },
{ state: COPYRIGHT , regex: 'Possible copyright violations' },
{ state: PAS , regex: '!Itens propostos para eliminação|Páginas para eliminação rápida' },
{ state: FIRE , regex: '!Artigos em disputa' }
];
// LiveRC default template use;
// ////////////////////////////
//
var lstAvert = [
{ template: "Aviso" , string: "Aviso genérico" , hasPage: true },
{ template: "Propaganda" , string: "Propaganda" , hasPage: true },
{ template: "Ortografia" , string: "Mudou ortografia" , hasPage: true },
{ template: "Aviso-assinatura" , string: "Não assine" , hasPage: true },
{ template: "Não copie" , string: "Não copie" , hasPage: false },
{ template: "Bv-av" , string: "Bv IP aviso" , hasPage: true },
{ template: "Av-propaganda" , string: "Bv IP propaganda" , hasPage: true },
{ template: "Bv-av (Registrado)" , string: "Bv reg. aviso" , hasPage: true },
{ template: "Av-test" , string: "Não faça testes" , hasPage: true },
{ template: "Não elimine" , string: "Retirou apagar" , hasPage: true }
];
/* </pre> */