Utilisateur:Dr Brains/BacASable2.js
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./* ******************************************************************************************************************************************************************************** */
/* MODULES */
LiveRC_Config["Modules"] = [];
// Chargement définition js des styles personnalisables
LiveRC_Config["Modules"].push("gadget.liverc.js.CSS");
mw.loader.implement("gadget.liverc.js.CSS",
function(){
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.js/CSS.js&action=raw&ctype=text/javascript');
},{},{}
}
// Chargement styles liveRC globaux
LiveRC_Config["Modules"].push("gadget.liverc.css");
mw.loader.implement("gadget.liverc.css",
function(){
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css&action=raw&ctype=text/css', 'text/css');
},{},{}
}
// Chargement styles mediawiki globaux
LiveRC_Config["Modules"].push("gadget.liverc.css.global");
mw.loader.implement("gadget.liverc.css.global",
function(){
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css/GlobalStyles.css&action=raw&ctype=text/css', 'text/css');
},{},{}
}
// Chargement styles liveRC customisables
LiveRC_Config["Modules"].push("gadget.liverc.css.customizable");
mw.loader.implement("gadget.liverc.css.customizable",
function(){
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css/Customizable.css&action=raw&ctype=text/css', 'text/css');
},{},{}
}
// Chargement config locale sauvegardée
LiveRC_Config["Modules"].push("gadget.liverc.js.mwconfig");
mw.loader.implement("gadget.liverc.js.mwconfig",
function(){
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["SiteConfigPage"], '&action=raw&ctype=text/javascript'));
},{},{}
}
// Chargement customisation fr-WP
if(mw.config.get('wgServer')==='//fr.wikipedia.org'){
LiveRC_Config["Modules"].push("gadget.liverc.js.lrcconfig");
mw.loader.implement("gadget.liverc.js.lrcconfig",
function(){
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["InstallationPage"], '&action=raw&ctype=text/javascript'));
},{},{}
}
}
// Chargement styles locaux
LiveRC_Config["Modules"].push("gadget.liverc.css.local");
mw.loader.implement("gadget.liverc.css.local",
function(){
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["CSSPage"], '&action=raw&ctype=text/css'), 'text/css', false);
},{},{}
}
// Chargement styles utilisateur
LiveRC_Config["Modules"].push("gadget.liverc.css.user");
mw.loader.implement("gadget.liverc.css.user",
function(){
mw.loader.load(lrcGetUglyPageURL('User:'+mw.config.get('wgUserName')+LiveRC_Config["UserParamPage"]+'.css', '&action=raw&ctype=text/css'), 'text/css');
},{},{}
}
// Chargement javascript utilisateur
LiveRC_Config["Modules"].push("gadget.liverc.js.user");
mw.loader.implement("gadget.liverc.js.user",
function(){
mw.loader.load(lrcGetUglyPageURL('User:'+mw.config.get('wgUserName')+LiveRC_Config["UserParamPage"]+'.js', '&action=raw&ctype=text/javascript'));
},{},{}
}
mw.loader.using( LiveRC_Config["Modules"], function () {
$( LiveRC_Init );
});
/* ******************************************************************************************************************************************************************************** */
/* ORIGINAL */
// Chargement définition js des styles personnalisables
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.js/CSS.js&action=raw&ctype=text/javascript');
// Chargement styles globaux
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css&action=raw&ctype=text/css', 'text/css', false);
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css/GlobalStyles.css&action=raw&ctype=text/css', 'text/css', false);
mw.loader.load(LiveRC_Config["HostServerPath"]+'MediaWiki:Gadget-LiveRC.css/Customizable.css&action=raw&ctype=text/css', 'text/css', false);
// Chargement config locale sauvegardée
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["SiteConfigPage"], '&action=raw&ctype=text/javascript'));
// Chargement customisation fr-WP
if(mw.config.get('wgServer')==='//fr.wikipedia.org'){
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["InstallationPage"], '&action=raw&ctype=text/javascript'));
}
// Chargement styles locaux
mw.loader.load(lrcGetUglyPageURL(LiveRC_Config["CSSPage"], '&action=raw&ctype=text/css'), 'text/css', false);
// Chargement styles et javascript utilisateur
mw.loader.load(lrcGetUglyPageURL('User:'+mw.config.get('wgUserName')+LiveRC_Config["UserParamPage"]+'.js', '&action=raw&ctype=text/javascript'));
mw.loader.load(lrcGetUglyPageURL('User:'+mw.config.get('wgUserName')+LiveRC_Config["UserParamPage"]+'.css', '&action=raw&ctype=text/css'), 'text/css', false);
$( LiveRC_Init );
LiveRC_Config["LogNames"] = {
'upload': {page:'uploadlogpage' },
'newusers': {page:'newuserlogpage' },
'patrol': {page:'patrol-log-page' },
'move': {page:'movelogpage' },
'merge': {page:'mergelog' },
'protect': {page:'protectlogpage' },
'delete': {page:'dellogpage' },
'block': {page:'blocklogpage' },
'rights': {page:'rightslog' },
'import': {page:'importlogpage' },
'gblrights': {page:'centralauth-rightslog-name' },
'gblblock': {page:'globalblocking-logpage', extension:'GlobalBlocking' },
'globalauth': {page:'centralauth-log-name', extension:'Central Auth' },
'renameuser': {page:'log-name-renameuser', extension:'Renameuser' },
'abusefilter': {page:'abusefilter-log-name', extension:'Abuse Filter' },
'abuselog': {page:'abusefilter-log', extension:'Abuse Filter' },
'thanks': {page:'log-name-thanks', extension:'Thanks' },
'articlefeedbackv5': {page:'log-name-articlefeedbackv5', extension:'Article Feedback' },
'massmessage': {page:'log-name-massmessage', extension:'MassMessage' },
'suppress': {page:'suppressionlog', extension:'Oversight', right:'suppressionlog'},
'checkuser': {page:'checkuserlog', extension:'CheckUser', right:'checkuser-log' },
'pagetriage-curation':{page:'log-name-pagetriage-curation', extension:'PageTriage' },
'pagetriage-deletion':{page:'log-name-pagetriage-deletion', extension:'PageTriage' },
'review': {page:'review-logpage', extension:'Flagged Revisions' },
'stable': {page:'stable-logpage', extension:'Flagged Revisions' },
'online': {page:'log-name-online', extension:'Education Program' },
'campus': {page:'log-name-campus', extension:'Education Program' },
'course': {page:'log-name-course', extension:'Education Program' },
'institution': {page:'log-name-institution', extension:'Education Program' },
'instructor': {page:'log-name-instructor', extension:'Education Program' },
'student': {page:'log-name-student', extension:'Education Program' },
'student': {page:'log-name-student', extension:'Education Program' },
'translatorsandbox': {page:'log-name-translatorsandbox', extension:'Translate' },
'translationreview': {page:'log-name-translationreview', extension:'Translate' },
'pagetranslation': {page:'log-name-pagetranslation', extension:'Translate' },
'notifytranslators': {page:'log-name-notifytranslators', extension:'TranslationNotifications' },
'liquidthreads': {page:'lqt-log-name', extension:'Liquid Threads' },
'mwoauthconsumer': {page:'mwoauthconsumer-consumer-logpage', extension:'OAuth' },
'moodbar': {page:'moodbar-log-name', extension:'MoodBar' },
'interwiki': {page:'log-name-interwiki', extension:'Interwiki' }
}
-------------------------------------------------------------
ACTION : MESSAGE
-------------------------|-----------------------------------
"block/block" : "blocklogentry"
"block/unblock" : "unblocklogentry"
"block/reblock" : "reblock-logentry"
"protect/protect" : "protectedarticle"
"protect/modify" : "modifiedarticleprotection"
"protect/unprotect" : "unprotectedarticle"
"protect/move_prot" : "movedarticleprotection"
"upload/upload" : "uploadedimage"
"upload/overwrite" : "overwroteimage"
"upload/revert" :
"import/upload" : "import-logentry-upload", "import-logentry-upload-detail"
"import/interwiki" : "import-logentry-interwiki", "import-logentry-interwiki-detail"
"merge/merge" : "pagemerge-logentry"
"suppress/block" :
"suppress/reblock" :
"gblblock/gblock" : "globalblocking-block-logentry"
"gblblock/gblock2" : "globalblocking-block2-logentry"
"gblblock/gunblock" : "globalblocking-unblock-logentry"
"gblblock/whitelist" : "globalblocking-whitelist-logentry"
"gblblock/dwhitelist" : "globalblocking-dewhitelist-logentry"
"gblblock/modify" : "globalblocking-modify-logentry"
"globalauth/delete" : "centralauth-log-entry-delete"
"globalauth/lock" : "centralauth-log-entry-lock"
"globalauth/unlock" : "centralauth-log-entry-unlock"
"globalauth/hide" : "centralauth-log-entry-hide"
"globalauth/unhide" : "centralauth-log-entry-unhide"
"globalauth/lockandhid" : "centralauth-log-entry-lockandhide"
"globalauth/setstatus" : "centralauth-log-entry-chgstatus"
"suppress/setstatus" :
"gblrights/usergroups" : "centralauth-rightslog-entry-usergroups"
"gblrights/groupperms" : "centralauth-rightslog-entry-groupperms"
"gblrights/groupprms2" : "centralauth-rightslog-entry-groupperms2"
"gblrights/groupprms3" : "centralauth-rightslog-entry-groupperms3"
"gblrights/grouprename" : "centralauth-rightslog-entry-grouprename"
"gblrights/newset" : "centralauth-rightslog-entry-newset"
"gblrights/setrename" : "centralauth-rightslog-entry-setrename"
"gblrights/setnewtype" : "centralauth-rightslog-entry-setnewtype"
"gblrights/setchange" : "centralauth-rightslog-entry-setchange"
"gblrights/deleteset" : "centralauth-rightslog-entry-deleteset"
"suppress/hide-afl" :
"suppress/unhide-afl" :
"move/move" : "logentry-move-move", "logentry-move-move-noredirect"
"move/move_redir" : "logentry-move-move_redir", "logentry-move-move_redir-noredirect"
"delete/delete" : "logentry-delete-delete"
"delete/restore" : "logentry-delete-restore"
"delete/revision" : "logentry-delete-revision"
"delete/event" : "logentry-delete-event"
"suppress/revision" : "logentry-suppress-revision"
"suppress/event" : "logentry-suppress-event"
"suppress/delete" : "logentry-suppress-delete"
"patrol/patrol" : "logentry-patrol-patrol", "logentry-patrol-patrol-auto"
"rights/rights" : "logentry-rights-rights"
"rights/autopromote" : "logentry-rights-autopromote"
"spamblacklist/*" : "logentry-spamblacklist-hit"
"renameuser/renameuser" : "logentry-renameuser-renameuser"
"abusefilter/modify" : "abusefilter-log-entry-modify"
"abusefilter/hit" : "logentry-abusefilter-hit"
"massmessage/*" :
"massmessage/send" : "logentry-massmessage-send"
"massmessage/failure" : "logentry-massmessage-failure"
"massmessage/skipoptout" : "logentry-massmessage-skipoptout"
"massmessage/skipnouser" : "logentry-massmessage-skipnouser"
"massmessage/skipbadns" : "logentry-massmessage-skipbadns"
"thanks/*" : "logentry-thanks-thank"
"newusers/newusers" : "logentry-newusers-newusers"
"newusers/create" : "logentry-newusers-create"
"newusers/create2" : "logentry-newusers-create2"
"newusers/byemail" : "logentry-newusers-byemail"
"newusers/autocreate" : "logentry-newusers-autocreate"
"logentry-rights-rights-legacy"
"logentry-suppress-event-legacy"
"logentry-suppress-flow-restore-post"
"logentry-suppress-flow-restore-topic"
"logentry-suppress-flow-suppress-post"
"logentry-suppress-flow-suppress-topic"
"logentry-suppress-revision-legacy"
"logentry-delete-event-legacy"
"logentry-delete-flow-delete-post"
"logentry-delete-flow-delete-topic"
"logentry-delete-flow-restore-post"
"logentry-delete-flow-restore-topic"
"logentry-delete-revision-legacy"
"logentry-newusers-tsbpromoted"
"globalblocking-logentry-expiry"
"globalblocking-logentry-noexpiry"
"abusefilter-logentry-suppress"
"abusefilter-logentry-unsuppress"
"logdelete-logentry" //===========
"logentry-block-disableaccount"
"logentry-campus-add"
"logentry-campus-profilesave"
"logentry-campus-remove"
"logentry-campus-selfadd"
"logentry-campus-selfremove"
"logentry-course-add"
"logentry-course-remove"
"logentry-course-undelete"
"logentry-course-update"
"logentry-eparticle-add"
"logentry-eparticle-remove"
"logentry-eparticle-review"
"logentry-eparticle-selfadd"
"logentry-eparticle-selfremove"
"logentry-eparticle-unreview"
"logentry-institution-add"
"logentry-institution-remove"
"logentry-institution-undelete"
"logentry-institution-update"
"logentry-instructor-add"
"logentry-instructor-remove"
"logentry-instructor-selfadd"
"logentry-instructor-selfremove"
"logentry-interwiki-interwiki"
"logentry-interwiki-iw_add"
"logentry-interwiki-iw_delete"
"logentry-interwiki-iw_edit"
"logentry-mwoauthconsumer-approve"
"logentry-mwoauthconsumer-disable"
"logentry-mwoauthconsumer-propose"
"logentry-mwoauthconsumer-reenable"
"logentry-mwoauthconsumer-reject"
"logentry-mwoauthconsumer-update"
"logentry-notifytranslators-sent"
"logentry-online-add"
"logentry-online-profilesave"
"logentry-online-remove"
"logentry-online-selfadd"
"logentry-online-selfremove"
"logentry-pagetranslation-associate"
"logentry-pagetranslation-deletefnok"
"logentry-pagetranslation-deletefok"
"logentry-pagetranslation-deletelnok"
"logentry-pagetranslation-deletelok"
"logentry-pagetranslation-discourage"
"logentry-pagetranslation-dissociate"
"logentry-pagetranslation-encourage"
"logentry-pagetranslation-mark"
"logentry-pagetranslation-movenok"
"logentry-pagetranslation-moveok"
"logentry-pagetranslation-prioritylanguages"
"logentry-pagetranslation-prioritylanguages-force"
"logentry-pagetranslation-prioritylanguages-unset"
"logentry-pagetranslation-unmark"
"logentry-pagetriage-curation-delete"
"logentry-pagetriage-curation-reviewed"
"logentry-pagetriage-curation-tag"
"logentry-pagetriage-curation-unreviewed"
"logentry-pagetriage-deletion-delete"
"logentry-spamblacklist-hit"
"logentry-student-add"
"logentry-student-remove"
"logentry-student-selfadd"
"logentry-student-selfremove"
"logentry-translationreview-group"
"logentry-translationreview-message"
"logentry-translatorsandbox-promoted"
"logentry-translatorsandbox-rejected"
"revdelete-logentry"
"review-logentry-app"
"review-logentry-diff"
"review-logentry-diff2"
"review-logentry-dis"
"review-logentry-id"
"right-deletelogentry"
"rights-editor-revoke"
"rightslogentry" //===========
"rightslogentry-autopromote" //===========
"stable-logentry-config"
"stable-logentry-modify"
"stable-logentry-reset"