User:Sophie/monobook.js

importScript('User:Henrik/js/automod.js');

Mynote = { MynoteGet: function { Mynote.MyNode = mw.util.addPortletLink( 'p-personal', "http://en.wikipedia.org/w/index.php?title=User:Sghfdhdfghdfgfd/note&action=edit", 'Note', 'Note', 'Make a note', '' ); Mynote.MyNode.style.fontSize = 'normal'; }, } $( function {		Mynote.MynoteGet;	} );

importScript('User:TheJosh/Scripts/NewPagePatrol.js');

Default: false Possible values: true or false Example: nup_enabled = true;

function liveClock {	appendCSS( "#utcdate a { font-weight:bolder; font-size:120%; }" ); if (typeof(UTCLiveClockConfig)=='undefined') UTCLiveClockConfig = {}; var portletId = UTCLiveClockConfig.portletId || 'p-personal'; var nextNode = UTCLiveClockConfig.nextNodeId ? document.getElementById(UTCLiveClockConfig.nextNodeId) : undefined; liveClock.node = mw.util.addPortletLink( portletId, mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=' + encodeURIComponent(mw.config.get('wgPageName')) + '&action=purge', '', 'utcdate', undefined, undefined, nextNode ); if( !liveClock.node ) return; showTime; } $(liveClock) function showTime {	var dateNode = liveClock.node; if( !dateNode ) return; var now = new Date; var hh = now.getUTCHours; var mm = now.getUTCMinutes; var ss = now.getUTCSeconds; var time = ( hh < 10 ? '0' + hh : hh ) + ':' + ( mm < 10 ? '0' + mm : mm ) + ':' + ( ss < 10 ? '0' + ss : ss ); dateNode.firstChild.replaceChild( document.createTextNode( time ), dateNode.firstChild.firstChild ); window.setTimeout(showTime, 1000); }