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

ק
log
(log)
ק (log)
שורה 1,327: שורה 1,327:
         var pattern = /\[\[([^|\]]+)\|([^|\]]+)\]\]/g;
         var pattern = /\[\[([^|\]]+)\|([^|\]]+)\]\]/g;
         function replaceMatch(match, opening, firstPart, separator, thirdPart, closing) {
         function replaceMatch(match, opening, firstPart, separator, thirdPart, closing) {
         console.log(match, opening, firstPart, separator, thirdPart, closing);
         console.log("match =", match, "opening =", opening, "firstPart =", firstPart, "separator=", separator, "thirdPart=", thirdPart, "closing=", closing);
             // Check if the second part equals the concatenation of the first and third parts
             // Check if the second part equals the concatenation of the first and third parts
             if (firstPart + thirdPart === secondPart) {
             if (firstPart + thirdPart === secondPart) {