User:EDUCA33E/LiveRC/LiveRCparam.js
< User:EDUCA33E | LiveRC
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:EDUCA33E/LiveRC/LiveRCparam. |
/*
==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> */