Revision as of 23:30, 3 February 2008 view sourceKylu (talk | contribs)9,405 edits rm commented-out js, duplicate userlog js← Previous edit |
Latest revision as of 14:30, 31 January 2021 view source Ladsgroup (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers20,540 editsm Maintenance: Replacing importScriptURI with mw.loader.load (phab:T95964) |
(12 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
|
|
mw.loader.load('https://meta.wikimedia.org/search/?title=User:Kylu/global.js&action=raw&ctype=text/javascript'); |
|
|
|
|
/* <pre><code> */ |
|
/* <pre><code> */ |
|
|
|
|
|
|
//gags |
|
// Loader script |
|
|
⚫ |
importScript("User:Kylu/irradiate.js"); |
|
// YOU NEED TO INCLUDE THIS FUNCTION. |
|
|
/*** ]'s include function ***/ |
|
|
function inc (file) { |
|
|
var lt = String.fromCharCode(60); |
|
|
var gt = String.fromCharCode(62); |
|
|
document.writeln(lt+'script type="text/javascript" src="/search/?title='+file+'&action=raw&ctype=text/javascript&dontcountme=s"'+gt+lt+'/script'+gt); |
|
|
} |
|
|
|
|
|
|
⚫ |
// Misc tools |
|
/*********************************************************************************/ |
|
|
⚫ |
importScript("User:Kylu/diff.js"); |
|
// * SCRIPT SECTION: INCLUDED SCRIPTS * // |
|
|
⚫ |
importScript("User:Voice_of_All/Addtabs/monobook.js"); |
|
/*********************************************************************************/ |
|
|
⚫ |
importScript("User:Voice_of_All/History/monobook.js"); |
|
⚫ |
importScript("User:Voice_of_All/UTCclock.js"); |
|
⚫ |
importScript("User:Voice_of_All/replacetxt.js"); |
|
|
|
|
|
// Popups |
|
|
// Popups includes: |
|
// Popups includes: |
|
|
|
|
inc("User:Lupin/popups.js"); |
|
|
inc("User:Lupin/recent2.js"); |
|
importScript("User:Lupin/recent2.js"); |
|
|
|
|
|
// Popups options: |
|
// Popups options: |
|
simplePopups = false; |
|
simplePopups = false; |
|
popupAdminLinks = true; |
|
popupAdminLinks = false; |
|
popupFixRedirs = true; |
|
popupFixRedirs = true; |
|
popupFixDabs = true; |
|
popupFixDabs = true; |
Line 43: |
Line 41: |
|
popupLiveOptionsExpanded=false; |
|
popupLiveOptionsExpanded=false; |
|
|
|
|
|
// End of popups |
|
|
|
|
|
// VoA Tools |
|
|
// addtabs and dropdown are prerequisite |
|
⚫ |
inc("User:Voice_of_All/Addtabs/monobook.js"); |
|
|
// these are add-ons |
|
|
inc("User:Voice of All/Adminwarnings/monobook.js"); |
|
|
inc("User:Voice_of_All/CheckUser/monobook.js"); |
|
⚫ |
inc("User:Voice_of_All/History/monobook.js"); |
|
⚫ |
inc("User:Voice_of_All/UTCclock.js"); |
|
⚫ |
inc("User:Voice_of_All/replacetxt.js"); |
|
|
inc("User:Voice_of_All/Protection/monobook.js"); |
|
|
|
|
|
// Lightdarkness tools |
|
|
inc("User:Lightdarkness/aiv.js"); |
|
|
|
|
⚫ |
// My tools |
|
|
// Enhanced diff, shows more options |
|
⚫ |
inc("User:Kylu/diff.js"); |
|
|
// Adds "google" tab |
|
⚫ |
inc("User:Kylu/google.js"); |
|
|
// Enhanced search (from Commons) |
|
|
inc("User:Kylu/EnhSearch.js"); |
|
|
|
|
|
// That's it. No more scripting. really. You can go home now. |
|
|
/* </code></pre> */ |
|
/* </code></pre> */ |