/*
==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 = 'Category:';
// Menu translation;
// /////////////////
var lang_menu = [ {
PAUSE: "Pause",
PREVIEW: "Preview",
LISTS: "Lists",
LOWDIFF: "Light Diff",
RCLABEL: "RC",
NOBOTS: "No Bots",
IPONLY: "IP only",
IPNEW: "IP and newb",
NAMESP: "Namespace",
XTIMES: "times",
UNDORC: "Undo",
REVERT: "Revert",
REASON: "Reason",
AVERTS: "Inform",
RVMES1: "LiveRC: Reverted edits by",
RVMES2: "to last version by",
EMPTY: "Empty",
LOGSHOW: "Logs",
ABSHOW: "Filters"
} ];
// Comments test table (regexp format);
// ////////////////////////////////////
var commenttests = [
{ state: BLANKING , regex: /^Résumé automatique : blanchiment|^[Bb]lanchi/ },
{ state: REPLACED , regex: /Replaced page with/ },
{ state: REVERT , regex: /^(LiveRC: )?Revert|^Annulation des modifications|^(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: 'Semi-protected' },
{ state: FULLLOCK , regex: 'Protected' },
{ state: HOMONYMIE , regex: 'Disambiguation' },
{ state: ADQ , regex: 'Wikipedia featured articles' },
{ state: BA , regex: 'Wikipedia good articles' },
{ state: APDQ , regex: 'Wikipedia featured article candidates' },
{ state: COPYRIGHT , regex: 'Possible copyright violations' },
{ state: PAS , regex: 'Articles for deletion' },
{ state: FIRE , regex: 'Wikipedia controversial topics' }
];
// LiveRC default template use;
// ////////////////////////////
//
var lstAvert = [
{ template: "Uw-vandalism1" , string: "Vandalism lvl-1" , hasPage: true },
{ template: "Uw-vandalism2" , string: "Vandalism lvl-2" , hasPage: true },
{ template: "Uw-vandalism3" , string: "Vandalism lvl-3" , hasPage: true },
{ template: "Uw-vandalism4" , string: "Vandalism lvl-4" , hasPage: true },
{ template: "Uw-vandalism4im" , string: "Vandalism nolvl" , hasPage: true },
{ template: "Uw-spam1" , string: "Spam lvl-1" , hasPage: true },
{ template: "Uw-spam2" , string: "Spam lvl-2" , hasPage: true },
{ template: "Uw-spam3" , string: "Spam lvl-3" , hasPage: true },
{ template: "Uw-spam4" , string: "Spam lvl-4" , hasPage: true },
{ template: "Uw-copyright" , string: "Copyright" , hasPage: true }
];
/* </pre> */