Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// SCRIPT:    toolbox page logs link
// from Wikipedia:WikiProject User scripts/Scripts/Logs link
$(function () {
    if ( wgCanonicalNamespace == "Special" )
        return;  // don't display link for special pages
 
    url = wgServer + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));
 
    mw.util.addPortletLink("p-tb", url, "Page logs", "pt-logs");
});
 
 
//SCRIPT:  dashboard link in toolbar
$(function () { 
 
    url = "http://en.wikipedia.org/wiki/User:Thingg/dashboard";
 
    mw.util.addPortletLink("p-personal", url, "dashboard", "pt-dash");
 
});
 
//SCRIPT:  logs link in toolbar
$(function () { 
 
    url = "http://simple.wikipedia.org/w/index.php?title=Special:Log&user=Thingg";
 
    mw.util.addPortletLink("p-personal", url, "logs", "pt-logs");
 
});
 
//SCRIPT: Clock
//from MediaWiki:Gadget-UTCLiveClock.js
//clock shows up in incorrect position due to above code
function liveClock()
{
 
	liveClock.node = mw.util.addPortletLink( 'p-personal', mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=' + encodeURIComponent(mw.config.get('wgPageName')) + '&action=purge', '', 'utcdate' );
	liveClock.node.style.fontSize = 'larger';
	liveClock.node.style.fontWeight = 'bolder';
 
	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);
}