Brūcend:Nakor/LiveRC/LiveRCparam.js

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
==LiveWP==
*Documentation : [[:fr:User:Nakor/LiveRC/Documentation]]
*Authors : [[:fr:User:Nakor]] & [[:fr:User:TiChou]]
*Version: 0.3.4 (beta)

// ///////////////////////////////////// //
== Global variables / Variables globales ==
// ///////////////////////////////////// //

<pre> */

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, ...)

/* </pre>

// //////////////////// //
== Internationalization ==
// //////////////////// //

<pre> */

// Category translation;
// /////////////////////
var lang_category = 'Catégorie:';

// Menu translation;
// /////////////////
var lang_menu = [ {
  PAUSE:   "Pause",
  PREVIEW: "Prévisualiser",
  LISTS:   "Listes",
  LOWDIFF: "Diff réduit",
  RCLABEL: "RC",
  NOBOTS:  "Sans Bots",
  IPONLY:  "IP seules",
  NAMESP:  "Espace",
  XTIMES:  "fois",
  UNDORC:  "Défaire",
  REVERT:  "Révoquer",
  REASON:  "Motif",
  AVERTS:  "Avertir",
  RVMES1:  "[[User:Nakor/LiveRC/Documentation|LiveRC]] : Undo modifications by",
  RVMES2:  "retour à la version de",
  EMPTY:   "Blanchir",
  RCSHOW:  "Edit",
  LOGSHOW: "Journaux"
} ];

// Comments test table (regexp format);
// ////////////////////////////////////
var commenttests = [
  { state: BLANKING  , regex: /^Résumé automatique : blanchiment|^[Bb]lanchi/ },
  { state: REPLACED  , regex: /^Résumé automatique : contenu remplacé par/ },
  { state: REVERT    , regex: /(LiveRC : )?Révocation |([Bb]ot : )?Ācierde ādihtunga|^(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: 'Page (semi-protégée|en semi-protection longue)' },
  { state: FULLLOCK  , regex: 'Page protégée' },
  { state: HOMONYMIE , regex: 'Homonymie' },
  { state: ADQ       , regex: 'Article de qualité( contesté)?' },
  { state: BA        , regex: 'Bon article' },
  { state: APDQ      , regex: 'Article potentiellement (bon|de qualité)' },
  { state: COPYRIGHT , regex: 'Article soupçonné de travail sous copyright' },
  { state: PAS       , regex: 'Page proposée à la suppression' },
  { state: FIRE      , regex: 'Wikipompiers' }
];

// LiveRC default template use;
// ////////////////////////////
var lstAvert = [
  { template: "Test 0"              , string: "Test 0"    , hasPage: false },
  { template: "Test 1"              , string: "Test 1"    , hasPage: false },
  { template: "Test 2"              , string: "Test 2"    , hasPage: false },
  { template: "Test 3"              , string: "Test 3"    , hasPage: false },
  { template: "Vandalisme"          , string: "Vandal"    , hasPage: true  },
  { template: "Spammeur"            , string: "Spam"      , hasPage: true  },
  { template: "Motivation_modif"    , string: "Résumé"    , hasPage: true  },
  { template: "Signature"           , string: "Signature" , hasPage: false },
  { template: "Bienvenue_copyright" , string: "Copyright" , hasPage: false }
];

/* </pre> */