User:Technical 13/SandBox/Gadget-BugCreateNew.js

/* _____________________________________________________________________________ * |                                                                             | * |                    === WARNING: GLOBAL GADGET FILE ===                      | * |                 Changes to this page affect many users. | * |         Please discuss changes on the talk page before editing. | * |_____________________________________________________________________________| * * Create a toolbox link to for one-click access for filing new bug reports with Bugzilla. * Revision: 1.0 * Author: Technical_13 (AKA ShoeMaker) */

mw.util.addPortletLink(	'p-tb',	'#',	'File Bugzilla report',	't-messagenames',	null,	'File a new bug report with Bugzilla.' ); function uiBugzilla{ var popupHTML = ' Bugzilla - Bug report starter   '; $('body').append(popupHTML); $('#bz-ui').show; $('#bz-ui').draggable; } $( listStyle ).click( function ( e ) {	e.preventDefault;	console.group( 'Initialize variables' );	var createLink = 'https://bugzilla.wikimedia.org/enter_bug.cgi';	console.info( 'Base link is %s', createLink );	var product = "MediaWiki";	console.info( 'Default product is %s', product );	var component = "General/Unknown";	console.info( 'Default component is %s', component );	console.groupEnd( 'Initialize variables' ); });