I have a new php page and want to control access to this page using mediawiki isLoggedIn() function.. something likee this. All i get is an empty page. can anyone tell me what i am doing wrong thnx
<html> <title>Login Script d</title> <body>
hello
<? global $wgUser; if( $wgUser->isLoggedIn()) { echo "cheese"; } ?>
Over </body> </html>