How do I add my own dynamic content to MediaWiki?
To do this you will want to create a special page, which is just a php script. First go to the includes directory and notice all the files that start with “Special”, these are all the special pages in your MediaWiki installation. Create a page called SpecialMypage.php, where “Mypage” is the name of your page. Open the file SpecialPage.php.