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 20:48, 25 May 2006 view sourceKylu (talk | contribs)9,405 edits debugging← Previous edit Revision as of 20:56, 25 May 2006 view source Kylu (talk | contribs)9,405 edits +extra.js inc (commented out)Next edit →
Line 1: Line 1:
/* <pre><code> */
/*** ]'s include function ***/ /*** ]'s include function ***/
function inc (file) { function inc (file) {
Line 9: Line 10:
// * SCRIPT SECTION: INCLUDED SCRIPTS * // // * SCRIPT SECTION: INCLUDED SCRIPTS * //
/*********************************************************************************/ /*********************************************************************************/

// Some of my extra editing stuff.
// (Currently under development, I keep it commented out so it
// doesn't interfere with vandal-fighting.)
//inc("User:Kylu/extra.js");



// Name me a regular editor who DOESN'T use this... // Name me a regular editor who DOESN'T use this...
Line 44: Line 51:


/* END OF POPUPS STUFF */ /* END OF POPUPS STUFF */

/* </code></pre> */

Revision as of 20:56, 25 May 2006

/* <pre><code> */
/*** ]'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.
// (Currently under development, I keep it commented out so it
// doesn't interfere with vandal-fighting.)
//inc("User:Kylu/extra.js");


// Name me a regular editor who DOESN'T use this...
inc("User:Interiot/Tool2/code.js");

// GodMode. Sometimes handy, sometimes not.
inc("User:Kylu/godmode.js");

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

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

//Beta!
//popupLiveOptions=true;
//popupLiveOptionsExpanded=false;

// Everyone knows what PopUps are, why advertize?
// Will happily remove this section if anyone complains.
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 */

/* </code></pre> */