בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,540
רעדאגירונגען
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 89: | שורה 89: | ||
var sefariaUrl = 'https://www.sefaria.org/' + encodeURIComponent(sefariaNames.english) + '.' + perek + '.' + pasuk; | var sefariaUrl = 'https://www.sefaria.org/' + encodeURIComponent(sefariaNames.english) + '.' + perek + '.' + pasuk; | ||
// Map Hebrew book name to AlHaTorah's naming convention | |||
var alHaTorahNames = bookNameMapping[sefer]; | |||
if (alHaTorahNames) { | |||
// Construct AlHaTorah URL | |||
var alHaTorahUrl = 'https://mg.alhatorah.org/Full/' + encodeURIComponent(alHaTorahNames.alHaTorah) + | |||
'/' + encodeURIComponent(perek) + | |||
'.' + encodeURIComponent(pasuk); | |||
// Construct Wikisource URL (Hebrew names and numbers as-is) | |||
var wikiSourceUrl = 'https://he.wikisource.org/wiki/' + | |||
'קטגוריה:' + encodeURIComponent(sefer + '_' + perek + '_' + pasuk); | |||
// Create a button to toggle the visibility of the icons | // Create a button to toggle the visibility of the icons | ||
| שורה 149: | שורה 151: | ||
} | } | ||
} | } | ||
}); | |||
}); | |||
}); | }); | ||
רעדאגירונגען