User:Trikkiboy/global.js

var params = { action: 'raw', title: 'MediaWiki:ProfileTags' };

$.get(mw.util.wikiScript, params, function(data) { console.log("data: ");  console.log(data); });