User:Thisisborin9/unreferencedtool.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; } addOnloadHook(function{ if(wgNamespaceNumber==0&&wgAction=="view")  {    if(document.getElementById("ca-edit"))      mw.util.addPortletLink('p-cactions', "javascript:doQunref", "unref", "ca-unref", "Mark as unreferenced", "");  } }); // by Thisisborin9 //