User:9Nak/monobook.js

importScript('User:AzaToth/twinkle.js'); importScript('User:Dycedarg/easyprod.js'); importScript('User:AzaToth/morebits.js'); importScript('User:Ioeth/friendlytag.js');

// If you are editing a page, click the unref button on your tab bar to add "" to the top, set "Marked as unreferenced" as the edit summary, mark it as a minor edit, and submit. function doQunref { document.editform.wpTextbox1.value = '{' + '{' + 'Unreferenced|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'Marked as unreferenced.'; document.editform.wpMinoredit.checked = true; document.editform.submit; } $(function { if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {     return;  }  if (document.editform) {     mw.util.addPortletLink("p-cactions", "javascript:doQunref", "unref", "ca-unref", "Mark as unreferenced", "");  } }); // by jj137 //

// If you are editing a page, click the wikify button on your tab bar to add "" to the top, set "Marked for wikification" as the edit summary, mark it as a minor edit, and submit.

function doQwikify { document.editform.wpTextbox1.value = '{' + '{' + 'Wikify|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'Marked for wikification'; document.editform.wpMinoredit.checked = true; document.editform.submit; }

$(function { if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {     // wouldn't it make more sense to just check for wgCanonicalNamespace != "", or am I missing something?     return;  }  if (document.editform) {     mw.util.addPortletLink("p-cactions", "javascript:doQwikify", "wikify", "ca-wikify", "Mark for wikification", "");  } });

// by raylu //

// Attempt to combine unreffed and wikify into a single button. function doQrefnwiki { document.editform.wpTextbox1.value = '{' + '{' + 'Unreferenced|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpTextbox1.value = '{' + '{' + 'Wikify|date=' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'Marked as unreferenced and wikify.'; document.editform.wpMinoredit.checked = true; document.editform.submit; } $(function { if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {     return;  }  if (document.editform) {     mw.util.addPortletLink("p-cactions", "javascript:doQrefnwiki", "refnwiki", "ca-unref", "Mark as unreferenced and wikify", "");  } }); // test script by 9Nak //