The language used on Wikipedia for creating articles is not HTML, its called Wikitext, Wiki Markup Or Wiki Code. If you want to convert Wiki Code to HTML page, here is a tool to convert Wiki text to minimally formatted HTML. Contains PHP class source code for integration. You need to paste Wiki Code and press Submit. An HTML page will appear.
Source: Forever For Now – Wiki Text to HTML