Thread:Project:Support desk/How to insert a html table inside a mediawiki extension??/reply

You can't output contents directly from any function (like what are you doing with those )!

Instead, use the  variable that you receive as a parameter, that for the name I assume it could be an instance of OutputPage class. Still, that would only make sense if your extension will output that content for all pages, and not based on the presence of an extension tag or parser function within the wikitext of a page.