MediaWiki:Gadget-AcceleratedFormCreation.js: Difference between revisions

No edit summary
No edit summary
Line 319: Line 319:
                         resultInBox = true;
                         resultInBox = true;
                         break;
                         break;
                     } else if (match[1] == "Translingual" || match[1] == "English" || (langname != "English" && match[1] < langname)) {
                     /*} else if (match[1] == "Translingual" || match[1] == "English" || (langname != "English" && match[1] < langname)) {
                         continue;
                         continue;*/
                     } else {
                     } else {
                         break;
                         break;
Line 356: Line 356:
                 textbox.selectionStart = scrollIndex;
                 textbox.selectionStart = scrollIndex;
                 textbox.selectionEnd = scrollIndex;
                 textbox.selectionEnd = scrollIndex;
                 summary.value = "Adding forms of " + langname + " [[" + lemma + "]] ([[WT:ACCEL|Accelerated]])";
                 summary.value = "Adding forms of " + langname + " [[Contionary:" + lemma + "|" + lemma + "]] ([[wikt:WT:ACCEL|Accelerated]])";
             } else {
             } else {
                 newValue = newtext;
                 newValue = newtext;
                 summary.value = "Creating forms of " + langname + " [[" + lemma + "]] ([[WT:ACCEL|Accelerated]])";
                 summary.value = "Creating forms of " + langname + " [[Contionary:" + lemma + "|" + lemma + "]] ([[wikt:WT:ACCEL|Accelerated]])";
             }
             }