Jump to content

User:X!/afc.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
  function afc_review() {
    var type = prompt("[accept][exists][v][bio][nn][web][corp][music][dict (d)][context][cv][blank][adv][neo][lang][joke][npov][blp][not]");
    var f = document.editform, t = f.wpTextbox1;
    t.value = t.value + "{" + "{sub" + "st:afc " + type.toLowerCase() + "}}\n" + "{" + "{afc b}" + "}";
  }
  addPortletLink("p-tb", "javascript:afc_review", "review", "ca-review", "Review", "");