Jump to content

User:AndyZ/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by AndyZ (talk | contribs) at 15:09, 9 November 2006 (v2). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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 Wikipedia:Bypass your cache.
// <nowiki>
// use {{subst:js|User:AndyZ/peerreviewer.js}} to generate the following:
// </nowiki>
 
// Script from [[User:AndyZ/peerreviewer.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:AndyZ/peerreviewer2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//configurable options for the PR script, please see the talk page of the JS page
/*allSpaces_PR = true;
select_PR = true;
noSendTo_PR = true;
toolbarLink_PR = true;*/

/////////////////////////
// rest of monobook.js
/////////////////////////

/* Subpages incorporated from [[User:Bobblewik]]: [[User:Bobblewik/monobook.js/dates.js]] [[User:Bobblewik/monobook.js/unitformatter.js]]
[[User:Bobblewik/monobook.js/units_nbsp.js]]
[[User:AndyZ/monobook.js/footnote.js]]
[[User:AndyZ/monobook.js/units nbsp.js]]
[[User:AndyZ/monobook.js/checklist.js]]
[[User:AndyZ/monobook.js/personalredirect.js]]
[[User:AndyZ/monobook.js/mypersonalredirect.js]]
[[User:AndyZ/monobook.js/footnotehelper.js]]
[[User:AndyZ/peerreviewer.js]]
[[User:AndyZ/sandbox.js]]
[[User:AndyZ/pdata.js]]
*/
//Create 'winc' function:

function winc(s) {
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
/*
//function to handle dates:

// winc('User:Bobblewik/monobook.js/dates.js');

//function to handle units:

winc('User:Bobblewik/monobook.js/unitformatter.js');

// see next one - winc('User:Bobblewik/monobook.js/units_nbsp.js');

winc('User:AndyZ/monobook.js/units_nbsp.js');

// not needed now : winc('User:AndyZ/monobook.js/s.js');

// not needed now: winc('User:AndyZ/monobook.js/footnote.js');

winc('User:AndyZ/monobook.js/checklist.js');
*/
winc('User:AndyZ/monobook.js/mypersonalredirect.js');
/*
winc('User:AndyZ/monobook.js/footnotehelper.js');

// winc('User:AndyZ/pdata.js')

winc('User:AndyZ/sandbox.js')
*/