Difference between revisions of "MediaWiki:Gadget-Section creator.js"

From TermiKnowledge
Jump to navigation Jump to search
(Created page with "console.log('aaaa');")
 
Line 1: Line 1:
console.log('aaaa');
if (typeof wfSupportsAjax !== 'undefined' && typeof (SectionCreator) == 'undefined' && wgNamespaceNumber >= 0) {
var SectionCreator = {
install: () => {
console.log('aaaaa');
}
};
$(()=> {
SectionCreator.install();
});
}

Revision as of 23:07, 1 December 2021

if (typeof wfSupportsAjax !== 'undefined' && typeof (SectionCreator) == 'undefined' && wgNamespaceNumber >= 0) {
	var SectionCreator = {
		install: () => {
			console.log('aaaaa');
		}
	};
	
	$(()=> {
		SectionCreator.install();
	});
}