User:Auto~enwiki/private.js

importScript('User:M/jquery.js');

addOnloadHook ( getData ) ;

function getData { $.getJSON("http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles="+wgPageName+"&rvprop=timestamp|user|comment|content&format=json",		function(data){			$.each(data.query.pages, function(i,item){ qeText = item.revisions[0]["*"]; });		}); alert(qeText); }