User:Captain Medusa alt/review.js

var review = {}; window.review = review;

$.when(	importStylesheet( 'MediaWiki:Vector.css' ),	mw.loader.getScript( 'https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-morebits.js&action=raw&ctype=text/javascript' ),		$.ready ).then(function { mw.util.addPortletLink ( 'p-cactions', '#',	'Review', 'dyk-review', 'Review this DYK nomination');	$('#dyk-review').click(review.callback); }); review.callback = function reviewMainCallback(e) { e.preventDefault; var Window = new Morebits.simpleWindow(600, 450); Window.setTitle( "Review" ); Window.setScriptName( "review" ); Window.addFooterLink( "DYK rules", "WP:DYKRULES" ); var form = new Morebits.quickForm( dyk.review ); form.append({		type: 'select',		name: 'status',		label: 'Status: ',		list: [			{ type: 'option', label: 'Green Tick', value: 'GreenTick', selected: true },			{ type: 'option', label: 'Blue Tick', value: 'BlueTick' },			{ type: 'option', label: 'Query', value: 'Query' },			{ type: 'option', label: 'Maybe', value: 'Maybe' },			{ type: 'option', label: 'No', value: 'No' },			{ type: 'option', label: 'New review', value: 'Newreview' }		]	});

};