בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,540
רעדאגירונגען
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 87: | שורה 87: | ||
// Construct Sefaria URL | // Construct Sefaria URL | ||
var sefariaUrl = 'https://www.sefaria.org/' + encodeURIComponent(seferNames.english) + '.' + perek; | var sefariaUrl = 'https://www.sefaria.org/' + encodeURIComponent(seferNames.english) + '.' + perek; | ||
if (pasuk !== null) { | |||
sefariaUrl += '.' + pasuk; | |||
} | |||
// Create and append the Sefaria icon | // Create and append the Sefaria icon | ||
| שורה 101: | שורה 101: | ||
// Construct AlHaTorah URL | // Construct AlHaTorah URL | ||
var alHaTorahUrl = 'https://mg.alhatorah.org/Full/' + encodeURIComponent(seferNames.alHaTorah) + '/' + perek; | var alHaTorahUrl = 'https://mg.alhatorah.org/Full/' + encodeURIComponent(seferNames.alHaTorah) + '/' + perek; | ||
if (pasuk !== null) { | |||
alHaTorahUrl += '.' + pasuk; | |||
} | |||
// Create and append the AlHaTorah icon | // Create and append the AlHaTorah icon | ||
| שורה 115: | שורה 115: | ||
// Construct Wikisource URL | // Construct Wikisource URL | ||
var wikiSourceUrl = 'https://he.wikisource.org/wiki/' + encodeURIComponent(sefer + '_' + perekRaw); | var wikiSourceUrl = 'https://he.wikisource.org/wiki/' + encodeURIComponent(sefer + '_' + perekRaw); | ||
if (pasukRaw && pasukRaw.trim() !== '') { | |||
wikiSourceUrl += '_' + pasukRaw; | |||
} | |||
// Create and append the Wikisource icon | // Create and append the Wikisource icon | ||
| שורה 126: | שורה 126: | ||
.html('<img src="' + wikiSourceFavicon + '" alt="Wikisource" style="width:12px; height:12px; vertical-align:middle; margin-left: 3px;">'); | .html('<img src="' + wikiSourceFavicon + '" alt="Wikisource" style="width:12px; height:12px; vertical-align:middle; margin-left: 3px;">'); | ||
$link.after(wikiSourceIcon); | $link.after(wikiSourceIcon); | ||
}); | }); | ||
}); | }); | ||
}); | }); | ||
רעדאגירונגען