User:94rain/common.js

mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/confirmationRollback.js'); /* CentralAuth */ /** * Extra buttons in toolbar * @stats */ // if (!mw.libs.getInsertWikiEditorButton) { mw.libs.getInsertWikiEditorButton = $.ajax({ dataType: 'script', cache: true,   url: 'https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/InsertWikiEditorButton.js&action=raw&ctype=text/javascript'  }); } mw.libs.getInsertWikiEditorButton.then(function {	// Warning	krInsertWikiEditorButton({ id: 'Warning1', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Symbol_1.svg/20px-Symbol_1.svg.png', label: 'warning1', insertBefore: '', insertAfter: '=={\{subst:CURRENTMONTHNAME}} {\{subst:CURRENTYEAR}}== \n{\{subst:Edit summary|--\}}', sampleText: '', autoSummary: { summary: 'General note: Please use an edit summary', position: 'replace' } });	krInsertWikiEditorButton({ id: 'warning2', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Symbol_2.svg/20px-Symbol_2.svg.png', label: 'warning2', insertBefore: '', insertAfter: '=={\{subst:CURRENTMONTHNAME}} {\{subst:CURRENTYEAR}}== \n{\{subst:test|--\}}', sampleText: '', autoSummary: { summary: 'General note: Editing tests', position: 'replace' } });	krInsertWikiEditorButton({ id: 'Warning3', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/2/29/Symbol_3.svg/20px-Symbol_3.svg.png', label: 'warning3', insertBefore: '', insertAfter: '=={\{subst:CURRENTMONTHNAME}} {\{subst:CURRENTYEAR}}== \n{\{subst:warn|--\}}', sampleText: '', autoSummary: { summary: 'Level 2 Warning', position: 'replace' } });	krInsertWikiEditorButton({ id: 'Warning4', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Symbol_4.svg/20px-Symbol_4.svg.png', label: 'warning4', insertBefore: '', insertAfter: '=={\{subst:CURRENTMONTHNAME}} {\{subst:CURRENTYEAR}}== \n{\{subst:Blatantvandal|--\}}', sampleText: '', autoSummary: { summary: 'Level 3 Warning', position: 'replace' } });	/* Spam	krInsertWikiEditorButton({ id: 'Delete1', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Symbol_delete_vote_darkened.svg/20px-Symbol_delete_vote_darkened.svg.png', label: 'Spam', insertBefore: '', insertAfter: '', sampleText: '', autoSummary: { summary: 'Request for deletion : Spam', position: 'replace' } });	// Vandalism	krInsertWikiEditorButton({ id: 'Delete2', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_delete_vote.svg/20px-Symbol_delete_vote.svg.png', label: 'Vandalism', insertBefore: '', insertAfter: '', sampleText: '', autoSummary: { summary: 'Request for deletion : Vandalism', position: 'replace' } });	// gibberish	krInsertWikiEditorButton({ id: 'Delete3', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Symbol_unrelated.svg/20px-Symbol_unrelated.svg.png', label: 'gibberish', insertBefore: '', insertAfter: '', sampleText: '', autoSummary: { summary: 'Request for deletion : gibberish', position: 'replace' } }); */ }); //