User:Kephir/common.js

window.LocalComments = { dateDifference: true, dateFormat: 'dmy', timeFirst: false, twentyFourHours: true, dayOfWeek: true, dropDays: 90, dropMonths: 12 };

window.kephirUnclutter = { postProcessSig: function (context) { if (context.lqtPostWrapper) { context.lqtPostWrapper.style.backgroundColor= 'hsl(' + context.colour.hue + ',' + (context.colour.sat/2) +'%,90%)'; }		var minisig = context.sigMinimised; var actlink = minisig.getElementsByClassName('act-link')[0]; var link = document.createElement('a'); link.href = '//toolserver.org/~quentinv57/sulinfo/' + encodeURIComponent(context.username); link.appendChild(document.createTextNode('sul')); actlink.parentNode.insertBefore(document.createTextNode("\xa0•\xa0"), actlink); actlink.parentNode.insertBefore(link, actlink); } };

/* w:User:Kephir/gadgets/unclutter (some information might not be applicable) */ mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Kephir/gadgets/unclutter.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600'); /* w:Wikipedia:Comments in Local Time (the local version is quite old) */ mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gary_King/comments_in_local_time.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400'); /* w:Wikipedia:User script sandbox */ mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:PleaseStand/userScriptSandbox.js&action=raw&ctype=text/javascript" );