Utilisateur:D952/LiveRCparam.js
Apparence
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;
Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.//<syntaxhighlight lang="javascript">//<pre>//<nowiki>
// Personnalisation pour LiveRC
/* ** Variables ** */
window.LiveRC_getUserCustom = function(){
lrcDisplayDebug('getUserCustom');
// -- Paramètres de LiveRC --
try{
addCustomParam("TZ", '+01:00');
}catch(e){ }
// -- Options au démarrage de LiveRC --
try{
addCustomOption("LiveRCFollowDisplayed", false);
}catch(e){ }
// -- Résumés de révocation --
try{
defineCustomRevertMessages([
{ 'resume' : '[[WP:BàS|bac à sable]].' , 'text' : 'bac à sable' },
{ 'resume' : '[[WP:VAND|vandalisme]].' , 'text' : 'vandalisme' },
{ 'resume' : '[[WP:CVS|modification non sourcée]].' , 'text' : 'non sourcé' },
{ 'resume' : 'pas d\'article, [[WP:N|notoriété non démontrée]].' , 'text' : 'pas d\'article' },
{ 'resume' : '[[Aide:Images|fichier inexistant]].' , 'text' : 'fichier inexistant' },
{ 'resume' : '[[Aide:Résumé|retrait injustifié]].' , 'text' : 'retrait injustifié' },
{ 'resume' : '[[WP:POV|ajout non neutre]].' , 'text' : 'non neutre' },
{ 'resume' : '[[WP:REF|suppression d\'information sourcée]].' , 'text' : 'supp ref' },
{ 'resume' : '[[WP:CVS|décès non sourcé]].' , 'text' : 'faux décès' },
{ 'resume' : 'correction erronée.' , 'text' : 'correction erronée' },
{ 'resume' : '[[WP:STYLE|style non encyclopédique]].' , 'text' : 'style' },
{ 'resume' : 'mauvaise utilisation du paramètre âge (mis à jour automatiquement).' , 'text' : 'âge auto' },
{ 'resume' : 'remplacement contraire au [[WP:PMS|principe de moindre surprise]].' , 'text' : 'PMS' },
{ 'resume' : '[[WP:SPOIL|avertissement spoiler]].' , 'text' : 'spoil' },
{ 'resume' : '[[WP:TA|traduction automatique]].' , 'text' : 'trad auto' }
]);
}catch(e){ }
// -- Modèles de bandeaux --
try{
defineCustomTagTemplates([
{ 'template' : 'Admissibilité à vérifier' , 'string' : 'admissibilité' , 'withDate' : '$month $year' },
{ 'template' : 'Copie à vérifier' , 'string' : 'copyvio' , 'withDate' : '' },
{ 'template' : 'À sourcer' , 'string' : 'à sourcer' , 'withDate' : '$month $year' },
{ 'template' : 'À wikifier' , 'string' : 'à wikifier' , 'withDate' : '$month $year' },
{ 'template' : 'Sources secondaires' , 'string' : 'sources secondaires' , 'withDate' : '$month $year' },
{ 'template' : 'Sources à lier' , 'string' : 'sources à lier' , 'withDate' : '$month $year' },
{ 'template' : 'À délister' , 'string' : 'à délister' , 'withDate' : '$month $year' },
{ 'template' : 'Rédaction' , 'string' : 'rédaction' , 'withDate' : '$month $year' },
{ 'template' : 'Travail inédit' , 'string' : 'TI' , 'withDate' : '' },
{ 'template' : 'Règle des 3 révocations' , 'string' : 'R3R' , 'withDate' : '' },
{ 'template' : 'Suppression Immédiate' , 'string' : 'SI' , 'withDate' : '' },
{ 'template' : 'Promotionnel' , 'string' : 'promo' , 'withDate' : '' },
{ 'template' : 'Résumé introductif' , 'string' : 'RI' , 'withDate' : '' }
]);
}catch(e){ }
// -- Textes non traduisibles --
try{
addCustomUnTranslatedText("RESUMESTART", '[[WP:PRC|PRC]] – ');
}catch(e){ }
}
/* ** Extensions ** */
LiveRC_Config['UsedLiveRCExtensions'] = [
'LinkOnIconExtension', // Lie les icônes PàS, AdQ, BA et copyvio aux pages de discussion associées.
'HotCatsMulti', // Permet d’ajouter/modifier/retirer une ou plusieurs catégories lors de la prévisualisation d’une page
'MarkQuestionable' // Instaure un système de modifications marquées comme douteuses
];
//END PARAMS
//</nowiki></pre></syntaxhighlight>
// {{Catégorisation JS}}