Usuário:Gustavob/LiveRC/LiveRCparam.js

Origem: Wikipédia, a enciclopédia livre.

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)
  • Internet Explorer / Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
  • Opera: 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:|^[Rr]ever(tida|tendo|são)|^Desfeita a edição|^[Uu]nd(id|oing)|^[Rr](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: '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: false },
  { template: "Não copie"          , string: "Não copie"                  , hasPage: false },
  { template: "Bv-av"              , string: "Bv IP aviso"                , hasPage: true },
  { template: "Bv-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: "Mostrar Previsão"   , string: "Salvamentos sucessivos"     , hasPage: true },
  { template: "Voto"               , string: "Sem direito de voto"        , hasPage: true },
  { template: "Av-data"            , string: "Inseriu data aniver."         , hasPage: true },
  { template: "Aviso-orkut"        , string: "WP não é o Orkut"           , hasPage: true },
  { template: "Não elimine"        , string: "Retirou apagar"             , hasPage: true }
];
 
/* </pre> */