User:Majr

Hey there! I am an administrator on the English Minecraft Wiki. I prefer to do maintenance tasks over actual article editing; I also enjoy writing templates and scripts, doing image related things and long walks on the beach.

If you have a repetitive task you don't feel like doing, I have a bot account (using the AutoWikiBrowser software) which I might be able to use to complete the task for you.

Contact
If you want to contact me, the more reliable way is to just leave a message on my talk page or e-mail by using the link in the sidebar. If it's urgent, you might be able to find me on the #minecraftwiki IRC channel.

Documentation tabs
Makes documentation pages act like their own namespace, adding "doc" and "doc talk" tabs to template pages.  // User:Majr/docTabs.js if ( mw.config.get( 'wgNamespaceNumber' ) === 10 || mw.config.get( 'wgNamespaceNumber' ) === 11 ) { importScript( 'User:Majr/docTabs.js' ); }

Editable rollback summary
Adds a button to rollback links, which will bring up an input box with the default rollback summary, so you can edit and expand on it.  // User:Majr/editableRollback.js importScript( 'User:Majr/editableRollback.js' );

Reference tooltips
Brings up a tooltip containing the related reference's text when hovered hover. This makes references much quicker and easier to use, instead of having to jump all over the page. I plan to add this script to the wiki by default at some point (want to test for a while, and add some settings), so only use this if you want it now.  // User:Majr/refTooltip.js importScript( 'User:Majr/refTooltip.js' );

Code block links
Makes external links and wikilinks (including interwiki) clickable in code blocks (anything with a class of mw-code).

By default this applies to anything that looks like a link, however this can be limited to only comments by adding  before the importScript line. This requires a syntax highlighting script to mark comments with a "comment" class; Prism.js works out of the box, other highlighters may require the link script to be edited to look for a different class.  // User:Majr/codeLinks.js importScript( 'User:Majr/codeLinks.js' );

Adding the following styling to your usercss will allow the links to retain their colouring (from syntax highlighters), and also add an underline to them so it's still obvious they're clickable.  .mw-code a:not(:hover) { color: inherit; text-decoration: underline; }