Content deleted Content added
Writ Keeper (talk | contribs) fix |
Writ Keeper (talk | contribs) fix? |
||
Line 6:
{
$("#wikiPreview").after('<table class="diff" id="ajaxDiff"><colgroup><col class="diff-marker"><col class="diff-content"><col class="diff-marker"><col class="diff-content"></colgroup></table>');
var requestString="/w/api.php?action=query&prop=revisions&format=json&rvcontentformat=text/x-wiki&revids=" + $("input[name='baseRevId']").attr("value") + "&rvdifftotext="+ encodeURIComponent($("textarea#wpTextbox1").text());
if($("input[name='wpSection']").attr("value") !== "")
{
requestString = requestString + "
}
$.getJSON(requestString, function(response, status)
|