User:Dixtosa/fillAutoCat.js

function fillAutoCat(autoSave) {	$('#wpTextbox1').val('{'+'{auto cat}}'); if(autoSave) {		$('#wpSave').click; } }

if (mw.config.values.wgNamespaceNumber === 14 && mw.config.values.wgCurRevisionId === 0) {	$(function{		var fillAndCreate = 'create with auto cat';		var fill = "(don't autosave)";		$("#firstHeading").append(` [${fillAndCreate}|${fill}] `);	}); }