User:Ambiguous Furry Rocking Thing/vector.js

if (mw.config.get('wgCanonicalNamespace') == '') { jQuery( document ).ready( function( $ ) {       if( mw.config.get( 'wgAction' ) === 'edit' ) {                document.getElementById( 'wpMinoredit' ).checked = true;        } } ); jQuery( document ).ready( function( $ ) {       if( mw.config.get( 'wgAction' ) === 'edit' ) {                document.getElementById( 'wpSummary' ).value= 'typofix(es)';        } } ); }

$(function {       mw.util.addPortletLink('p-tb', "/wiki/Special:Prefixindex/" + wgPageName + "/", "Prefixindex", 'tb-prefixindex', 'Prefixindex', null, document.getElementById('t-whatlinkshere') || document.getElementById('t-upload') ); });