User:Technical 13/Scripts/Gadget-createRedirect.js

/* *	var createRedirect = mw.util.addPortletLink(		'p-tb',		'#',		'Create Redirect',		'p-create_redirect',		'Create a new redirect to ' + mw.config.get('wgPageName'),		null,		null	); $( listStyle ).click( function ( e ) {		e.preventDefault;		/* */		var newRedirect = prompt('What page title should redirect here?', mw.config.get('wgPageName'));	}); //