Admin Forum:Get contents of a page without sidebars, header, etc

Is there possibly a way to get the content of a page without sidebars, ads, and things? (Example on another website - main page and content page). I'm making a game and I want to have the game read the username (via the Username template). Iggyvolz 17:36, July 5, 2012 (UTC)
 * You can use the MediaWiki API for this: See this page for example http://community.wikia.com/api.php?action=query&titles=Admin_Forum:Get_contents_of_a_page_without_sidebars,_header,_etc&rvprop=content&format=json

Then you can use a script to set things up: 17:44, July 5, 2012 (UTC)


 * Do I put that script on the page, or in my game? (I use ActionScript 3 via Stencyl). 96.240.94.47 18:55, July 5, 2012 (UTC)