User:Dixtosa/fillAutoCat.js

Hello, you have come here looking for the meaning of the word User:Dixtosa/fillAutoCat.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Dixtosa/fillAutoCat.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Dixtosa/fillAutoCat.js in singular and plural. Everything you need to know about the word User:Dixtosa/fillAutoCat.js you have here. The definition of the word User:Dixtosa/fillAutoCat.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Dixtosa/fillAutoCat.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
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 = '<a href="javascript:fillAutoCat(1)" title="Create this category using topic cat">create with auto cat</a>';
		var fill = "<a href='javascript:fillAutoCat(0)'>(don't autosave)</a>";
		$("#firstHeading").append(`<span class="editsection"></span>`);
	});
}