User:Mainframe98/common.js

/** */ ( function ( mw, $ ) {   $( document ).ready( setTimeout( function  {        if ( typeof mw.util === 'undefined' ) {                return;        }        mw.util.addPortletLink( 'p-personal', 'https://www.mediawiki.org/wiki/User:Mainframe98/Sandbox', //url 'Zandbak', //Name displayed 'pt-mysandbox', 'Ga naar de zandbak', //Tooltip null, '#pt-preferences' );   }, 500)); }( 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.