moving stuff from index.php to includes/Wiki.php