From Minecraft Wiki
Jump to: navigation, search

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.


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.


Documentation tabs[edit]

Makes documentation pages act like their own namespace, adding "doc" and "doc talk" tabs to template, module and user css/js pages.

// [[User:Majr/docTabs.js]]
if ( 
    $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 10, 11, 828, 829 ] ) > -1 ||
    $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 2, 3 ] ) > -1 &&
    mw.config.get( 'wgTitle' ).replace( /\/doc$/, '' ).search( /\.(js|css)$/ ) > -1
) {
    importScript( 'User:Majr/docTabs.js' );

Editable rollback summary[edit]

Adds a button ([rollback Edit pencil.png]) 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[edit]

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[edit]

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 mcw.onlyLinkComment = true; 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;

Input counter[edit]

Adds a character counter to input fields with a max length, showing how many more characters you can type. It allows you to type more characters than the limit and will display how many characters you've gone over. The script also adds the length of the selected predefined reason on the delete and protect pages to the amount of characters used, giving a true representation of how many characters are left.

// [[User:Majr/inputCounter.js]]
importScript( 'User:Majr/inputCounter.js' );

All sub-pages[edit]

Majr/1.8 snapshots Majr/Chunk format/Entity Majr/Chunk format/Mob
Majr/Chunk format/Zombie Majr/Edit count Majr/Prism.css
Majr/Prism.js Majr/Style zoo Majr/System images
Majr/The Workbench Majr/The Workbench/1 Majr/The Workbench/2
Majr/The Workbench/doc Majr/V1/1.7.2 Majr/V1/13w43a
Majr/Version history Majr/ajaxPreview.js Majr/animate.js
Majr/blocks Majr/blocks2 Majr/bugSummary.js
Majr/codeLinks.js Majr/docTabs.js Majr/editableRollback.js
Majr/editcounter.js Majr/fileNuke.js Majr/galleryList.js
Majr/goToTop.js Majr/gridos Majr/hydra.css
Majr/hydra.js Majr/inputCounter.js Majr/refTooltip.css
Majr/refTooltip.js Majr/renderConsoleOutput.js Majr/sig
Majr/syntaxHighlight.js Majr/syntaxHighlight/css.js Majr/syntaxHighlight/javascript.js
Majr/tidyDisplayName.js Majr/twitterFeed Majr/twitterFeed.js

Edit count breakdown[edit]

Edit count
Main Talk User User talk Minecraft Wiki Minecraft Wiki talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Total
602 1,196 2,065 1,374 398 339 3,199 89 618 2 3,204 181 17 7 201 1 23,890
Last updated: February 23, 2014. Generated with edit counter.js