User:Psneog/vector.js

// install Wikipedia:User:Cacycle/wikEd in-browser text editor document.write(''); importScript('User:AzaToth/twinkle.js'); /** * HAPPI gadget importScript("User:EpochFail/HAPPI.js")
 * This gadget is part of a research study being conducted by the
 * GroupLens Research lab at the University of Minnesota. Please see
 * the consent form at http://wikipedia.grouplens.org/HAPPI/consent.
 * If you have questions/comments/suggestions, please direct them to
 * User:EpochFail. **/
 * User:EpochFail. **/

// // &lt;nowiki&gt;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.&lt;/nowiki&gt;

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 //