Misplaced Pages

User:Kylu/monobook.js

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

This is an old revision of this page, as edited by Kylu (talk | contribs) at 03:28, 19 January 2008 (commenting out extraneous revert scripting, changing popups timing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 03:28, 19 January 2008 by Kylu (talk | contribs) (commenting out extraneous revert scripting, changing popups timing)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump.
This code will be executed when previewing this page.
The accompanying .css page for this skin is at User:Kylu/monobook.css.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Misplaced Pages:Bypass your cache.
/* <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> */