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 03:41, 30 August 2007 view sourceKylu (talk | contribs)9,405 edits testing enhanced search← Previous edit Revision as of 03:28, 19 January 2008 view source Kylu (talk | contribs)9,405 edits commenting out extraneous revert scripting, changing popups timingNext edit →
Line 19: Line 19:
/* inc("User:Kylu/xml.js"); */ /* inc("User:Kylu/xml.js"); */
inc("User:Lightdarkness/aiv.js"); inc("User:Lightdarkness/aiv.js");
inc("User:Voice_of_All/Revert/monobook.js"); /* inc("User:Voice_of_All/Revert/monobook.js"); */
inc("User:Voice_of_All/History/monobook.js"); inc("User:Voice_of_All/History/monobook.js");
inc("User:Voice_of_All/UTCclock.js"); inc("User:Voice_of_All/UTCclock.js");
Line 41: Line 41:


// Sam Hocevar's godmode.js and ubergodmode.js // Sam Hocevar's godmode.js and ubergodmode.js
inc("User:Kylu/godmode.js"); /* inc("User:Kylu/godmode.js"); */
inc("User:Kylu/ubergodmode.js"); /* inc("User:Kylu/ubergodmode.js"); */


// Popups // Popups
Line 53: Line 53:
popupFixRedirs = true; popupFixRedirs = true;
popupFixDabs = true; popupFixDabs = true;
popupDelay = 0.15; popupDelay = 0.25;
popupSubpopups = false; popupSubpopups = false;
popupNavLinkSeparator = ' &bull; '; popupNavLinkSeparator = ' &bull; ';

Revision as of 03:28, 19 January 2008

/* <pre><code> */
// 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);
}

/*********************************************************************************/
// * SCRIPT SECTION: INCLUDED SCRIPTS * //
/*********************************************************************************/

// Some of my extra editing stuff. (under development)
//inc("User:Kylu/extra.js");

//VoA Tools
inc("User:Voice_of_All/Addtabs/monobook.js");
/* inc("User:Kylu/xml.js"); */
inc("User:Lightdarkness/aiv.js");
/* inc("User:Voice_of_All/Revert/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:Kylu/google.js");
inc("User:Voice_of_All/Protection/monobook.js");
inc("User:Voice of All/Adminwarnings/monobook.js");
inc("User:Kylu/diff.js");
inc("User:Kylu/EnhSearch.js");

//MarkS's
inc("User:MarkS/extraeditbuttons.js");

// editcount.js just adds an "Edit count" link to the toolbox
// You MUST have Tool2 included to use this! 
// inc("User:Interiot/Tool2/code.js");
// inc("User:Kylu/editcount.js");

// Adds "user logs" to the toolbox.
inc("User:Kylu/userlog.js");

// Sam Hocevar's godmode.js and ubergodmode.js
/* inc("User:Kylu/godmode.js"); */
/* inc("User:Kylu/ubergodmode.js"); */

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

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

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

// 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 ]';

/* END OF POPUPS STUFF */

// That's it. No more scripting. really. You can go home now.
/* </code></pre> */