מדיה ויקי:Gadget-rollBackSummary.js: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 38: שורה 38:
  // load image page
  // load image page
  var a = sajax_init_object();
  var a = sajax_init_object();
//alert(currentImage);
  a.open('GET', wgServer + wgScript + '?title=' + encodeURIComponent(slideShowLinks[currentImage].title), true);
//alert(wgServer + wgScriptPath + '/index.php?title=' + encodeURIComponent(slideShowLinks[currentImage].title) + '&action=render');
  a.open('GET', wgServer + wgScriptPath + '/' + encodeURIComponent('תמונה') + ':' + encodeURIComponent(slideShowLinks[currentImage].title.substring(6)), true);
  a.onreadystatechange = function() {
  a.onreadystatechange = function() {
   if (a.readyState != 4) return;
   if (a.readyState != 4) return;