Platonides <platonides <at> gmail.com> writes:
global $wgUser is an User object which contain the current user.
Thanks. I used the User object. So, I have something like this:
global $wgUser;
$user = $wgUser->getName();
$wgOut->addHTML($user);
I have another question but it's about special pages. Can i change the layout of
a particular special page? I made a special page to be pop up window. I wanted
to make a new layout for it. how can i make it? is it possible?