XTools/ArticleInfo.js

$(function{if(mw.config.get("wgArticleId")===0||mw.config.get("wgCurRevisionId")!==mw.config.get("wgRevisionId")||mw.config.get("wgAction")!=="view"){return}var t=". ";$(t).insertBefore("#contentSub");var e=window.setInterval(function{if($("#xtools_result").html===".  "){$("#xtools_result").html(" . ")}else if($("#xtools_result").html===" . "){$("#xtools_result").html("  .")}else{$("#xtools_result").html(".  ")}},300);$.get("https://xtools.wmflabs.org"+"/api/articleinfo/"+mw.config.get("wgServerName")+"/"+mw.config.get("wgPageName")+"?format=html"+"&uselang="+mw.config.get("wgContentLanguage")).done(function(t){$("#xtools_result").html(t);clearInterval(e)})});