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

השתא דאתית להכי
אין תקציר עריכה
(השתא דאתית להכי)
שורה 31: שורה 31:
element.style.display = "none";
element.style.display = "none";
}
}
//מכאן סקריפט תיקון התמונות בזרימה
if (mw.config.get("wgPageContentModel") === "flow-board") {
  var images = $("[src^='//localhost:8080']");
  for (var i = 0; i < images.length; i++) {
    var img = images[i];
    img.setAttribute(
      "src",
      img.getAttribute("src").replace("//localhost:8080", "//yi.hamichlol.org.il")
    );
    images[i] = img;
  }
  images = $("[src^='http://localhost:8080']");
  for (var i = 0; i < images.length; i++) {
    var img = images[i];
    img.setAttribute(
      "src",
      img.getAttribute("src").replace("//localhost:8080", "//yi.hamichlol.org.il")
    );
    images[i] = img;
  }
  images = $("[src^='http://localhost']");
  for (var i = 0; i < images.length; i++) {
    var img = images[i];
    img.setAttribute(
      "src",
      img.getAttribute("src").replace("//localhost", "//yi.hamichlol.org.il")
    );
    images[i] = img;
  }
  images = $("[src^='//localhost']");
  for (var i = 0; i < images.length; i++) {
    var img = images[i];
    img.setAttribute(
      "src",
      img.getAttribute("src").replace("//localhost", "//yi.hamichlol.org.il")
    );
    images[i] = img;
  }
  images = $("img");
  for (var i = 0; i < images.length; i++) {
    var img = images[i];
    img.setAttribute(
      "src",
      img
        .getAttribute("src")
        .replace("//mediawiki/w/upload/michlol", "/w/upload/michlol")
    );
    images[i] = img;
  }
}
//עד כאן סקריפט תיקון התמונות בזרימה
//הודעה כללית
$(function(){
if (mw.config.get('wgNamespaceNumber') === 8000 && document.getElementById("wiki-measege")) {
  $("#wiki-measege").detach().insertAfter("#catlinks");
}
});




mw.loader.load(
    "/w/index.php?title=MediaWiki:common2.js&action=raw&ctype=text/javascript"
  );
//כל ההוספות המקומיות במכלול עברית
//כל ההוספות המקומיות במכלול עברית