אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Gadget-ShortNSSearch.js"

thats the story
אין תקציר עריכה
(thats the story)
שורה 51: שורה 51:
     if (rxEdit.test(text.value)) {
     if (rxEdit.test(text.value)) {
       text.value = text.value.replace(rxEdit, shortcuts[i][1]);
       text.value = text.value.replace(rxEdit, shortcuts[i][1]);
       document.location = '//yi.hamichlol.org/w/index.php?title=' + text.value + '&action=edit';
       document.location = '//yi.hamichlol.org.il/w/index.php?title=' + text.value + '&action=edit';
       return false;
       return false;
     }
     }
שורה 57: שורה 57:
     if (rxHistory.test(text.value)) {
     if (rxHistory.test(text.value)) {
       text.value = text.value.replace(rxHistory, shortcuts[i][1]);
       text.value = text.value.replace(rxHistory, shortcuts[i][1]);
       document.location = '//yi.hamichlol.org/w/index.php?title=' + text.value + '&action=history';
       document.location = '//yi.hamichlol.org.il/w/index.php?title=' + text.value + '&action=history';
       return false;
       return false;
     }
     }
     var rxPI = new RegExp('^/');
     var rxPI = new RegExp('^/');
     if (rxPI.test(text.value)) {
     if (rxPI.test(text.value)) {
       document.location = '//yi.hamichlol.org/' + "באַזונדער:הדף_שלי" + text.value;
       document.location = '//yi.hamichlol.org.il/w/index.php?title=' + "באַזונדער:הדף_שלי" + text.value;
       return false;
       return false;
     }
     }