Misplaced Pages

User:Kylu/monobook.js: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Kylu Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 23:30, 3 February 2008 view sourceKylu (talk | contribs)9,405 edits rm commented-out js, duplicate userlog js← Previous edit Revision as of 19:43, 20 February 2008 view source Kylu (talk | contribs)9,405 edits pref changeNext edit →
Line 1: Line 1:
/* <pre><code> */ /* <pre><code> */


// Loader script // Popups includes:
// 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+'&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"'+gt+lt+'/script'+gt);
}


importScript("User:Lupin/recent2.js");
/*********************************************************************************/
// * SCRIPT SECTION: INCLUDED SCRIPTS * //
/*********************************************************************************/

// Popups
// Popups includes:
inc("User:Lupin/popups.js");
inc("User:Lupin/recent2.js");


// Popups options: // Popups options:
Line 47: Line 33:
// VoA Tools // VoA Tools
// addtabs and dropdown are prerequisite // addtabs and dropdown are prerequisite
inc("User:Voice_of_All/Addtabs/monobook.js"); importScript("User:Voice_of_All/Addtabs/monobook.js");
// these are add-ons // these are add-ons
inc("User:Voice of All/Adminwarnings/monobook.js"); importScript("User:Voice of All/Adminwarnings/monobook.js");
inc("User:Voice_of_All/CheckUser/monobook.js"); importScript("User:Voice_of_All/CheckUser/monobook.js");
inc("User:Voice_of_All/History/monobook.js"); importScript("User:Voice_of_All/History/monobook.js");
inc("User:Voice_of_All/UTCclock.js"); importScript("User:Voice_of_All/UTCclock.js");
inc("User:Voice_of_All/replacetxt.js"); importScript("User:Voice_of_All/replacetxt.js");
inc("User:Voice_of_All/Protection/monobook.js"); importScript("User:Voice_of_All/Protection/monobook.js");


// Lightdarkness tools // Lightdarkness tools
inc("User:Lightdarkness/aiv.js"); importScript("User:Lightdarkness/aiv.js");


// My tools // My tools
// Enhanced diff, shows more options // Enhanced diff, shows more options
inc("User:Kylu/diff.js"); importScript("User:Kylu/diff.js");
// Adds "google" tab // Adds "google" tab
inc("User:Kylu/google.js"); importScript("User:Kylu/google.js");
// Enhanced search (from Commons) // Enhanced search (from Commons)
inc("User:Kylu/EnhSearch.js"); // inc("User:Kylu/EnhSearch.js");


// That's it. No more scripting. really. You can go home now. // That's it. No more scripting. really. You can go home now.

Revision as of 19:43, 20 February 2008

/* <pre><code> */

// Popups includes:

importScript("User:Lupin/recent2.js");

// Popups options:
simplePopups = false;
popupAdminLinks = true;
popupFixRedirs = true;
popupFixDabs = true;
popupDelay = 0.25;
popupSubpopups = false;
popupNavLinkSeparator = ' &bull; ';
popupRedirAutoClick = 'wpPreview';

// Popups de-Advertizing
popupRedlinkSummary='Removing link to empty page ]';
popupFixDabsSummary='Disambiguate ] to ]';
popupFixRedirsSummary='Redirect bypass from ] to ]';
popupExtendedRevertSummary='Revert to revision dated %s by %s, oldid %s';
popupRevertToPreviousSummary='Revert to the revision prior to revision %s';
popupRevertSummary='Revert to revision %s';
popupRmDabLinkSummary='Remove link to dab page ]';

// (Beta) Lets you change frequently-changed Popups options while in-use
popupLiveOptions=true;          
// (Beta) Starts with the options tab open on popover (annoying)
popupLiveOptionsExpanded=false; 

// End of popups 

// VoA Tools
// addtabs and dropdown are prerequisite
importScript("User:Voice_of_All/Addtabs/monobook.js");
// these are add-ons
importScript("User:Voice of All/Adminwarnings/monobook.js");
importScript("User:Voice_of_All/CheckUser/monobook.js");
importScript("User:Voice_of_All/History/monobook.js");
importScript("User:Voice_of_All/UTCclock.js");
importScript("User:Voice_of_All/replacetxt.js");
importScript("User:Voice_of_All/Protection/monobook.js");

// Lightdarkness tools
importScript("User:Lightdarkness/aiv.js");

// My tools
// Enhanced diff, shows more options
importScript("User:Kylu/diff.js");
// Adds "google" tab
importScript("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> */