User:Aditya Kabir/monobook.js: Difference between revisions

Content deleted Content added
deltab again
deltab again
Line 1:
importScript('User:AzaToth/twinkle.js');
 
 
 
 
Line 9 ⟶ 11:
//
//
// This script adds a "EducationIndia Deletion" tab to the top of article pages
// when in edit mode. It is disabled for the User namespace.
 
function dodeletion() {
document.editform.wpTextbox1.value = document.editform.wpTextbox1.value + '\n{' + '{' + 'subst' + ':' + 'delsort' + '|' + 'EducationIndia' + '}' + '}' + ' ' + '--' + ' ' + '~' + '~' + '~' + '~';
document.editform.wpSummary.value = 'Tagged as a EducationIndia-related deletion.';
document.editform.wpMinoredit.checked = true;
document.editform.submit();
Line 20 ⟶ 22:
 
function adddeletion() {
addTab("javascript:dodeletion()", "EducationIndia deletion", "ca-EducationdeletionIndiadeletion", "EducationIndia Deletion", "");
akeytt();
}