User:Mainframe98/common.js

mw.loader.using( 'mediawiki.util' ); /** */ ( function ( mw, $ ) {	$( document ).ready( function { if ( typeof mw.util === 'undefined' ) { return; }		mw.util.addPortletLink(			'p-personal',			'/wiki/User:Mainframe98/Sandbox', //url			'Zandbak', //Name displayed			'pt-mysandbox',			'Ga naar de zandbak', //Tooltip			null,			'#pt-preferences'		); }); }( mediaWiki, jQuery ) );
 * Adds a Sandbox button, originally from https://www.wikidata.org/wiki/MediaWiki:Gadget-mySandbox.js, but that version used a localized subpagename.
 * Tweaked to remove redundancy
 * Removed a lot of code due to issues.