User:Mr. Grille/monobook.js

if (wgAction == "edit" || wgAction == "submit" && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/central/images/f/fc/Button_user_talk.png", "speedTip": "Insert Word Bubble", "tagOpen": "", "sampleText": "Text Here"}; } if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/imagedump/images/7/76/E1C05D_Button.png", "speedTip": "E1C05D", "tagOpen": "'''", "tagClose": "''' ", "sampleText": "Insert text" } } //Adds a new box in the sidebar and populates it with custom links; originally by User:Grunny addOnloadHook( function {	$('#p-cactions').after(' My Tools   ');	addPortletLink('p-pql','/wiki/Special:RecentChanges','Recent Changes');	addPortletLink('p-pql','/wiki/Special:RandomPage','Random Page');        addPortletLink('p-pql','/wiki/Special:WhatLinksHere/' + wgPageName,'What Links Here');        addPortletLink('p-pql','/wiki/Special:CreatePage','Create a New Page');        addPortletLink('p-pql','/wiki/Special:Upload','Upload');        addPortletLink('p-pql','/wiki/Special:MultipleUpload','Multiple Upload');        addPortletLink('p-pql','/wiki/Special:Editcount','Edit Count');        addPortletLink('p-pql','/wiki/User_talk:BassJapas','Messages');        addPortletLink('p-pql','/wiki/Special:Disambiguations','Disambigs');        addPortletLink('p-pql','/wiki/Special:SpecialPages','Special Pages');        addPortletLink('p-pql','/wiki/Special:ListRedirects','Redirects'); addPortletLink('p-pql','/wiki/Special:Contributions','Contribs'); addPortletLink('p-pql','/wiki/Special:Categories','Categories');