Jump to content

User:Piotrus/monobook.js

From Wikipedia, the free encyclopedia
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> Sandbox link (adds a link to my sandbox in the top right corner)

$.when(
	mw.loader.using( [
		'mediawiki.util',
	] ),
	$.ready
).done( function () {
    mw.util.addPortletLink('p-personal', mw.config.get('wgArticlePath').replace("$1", "Special:Mypage/Links"), 'My quick links', 'pt-sandbox', 'My quick links', null, document.getElementById('pt-preferences'));
});

//</nowiki>

//<nowiki> Artcle size script (adds a page size option to the toolbox on the left side of the screen)

importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]

//</nowiki>

//<nowiki> Wikipedia:AutoEd

importScript('Wikipedia:AutoEd/complete.js');

//<nowiki> Dashes fix

importScript("User:GregU/dashes.js");