User:Conrad.Irwin/creation.js

// Enable the WT:ACCEL gadget for users who import this script.

// Note, you can safely remove this script from your common.js, vector.js or monobook.js.

if (!mw.user.options.get('gadget-AcceleratedFormCreation')) {

var params = { action: 'options', optionname: 'gadget-AcceleratedFormCreation', optionvalue: '1', format: 'json' },	api = new mw.Api;

api.postWithToken( 'csrf', params ).done( function ( data ) {		console.log( data );	} ); }