Widget:Ajax-Template
Zur Navigation springen
Zur Suche springen
<script> // Daten initialisieren (function(){ var target = $("script").last().prev(); var page = ""; if (page.indexOf(":") == -1)
page = "Vorlage:" + page;
// Ajax-Seitenaufruf abschicken $.ajax({
url: mw.config.get("wgScript"), method: "GET", data: { title: page, action: "render" }, success: function(x){target.html(x);}
}); })(); </script>