How to check if user is Sysop using Php in Mediawiki?
I am trying to add a div to my sidebar and I only want this block to show
to administrators. How can I check if a user is an administrator in php? I
am trying to add this to myskin.php file and dont know how to do it. I
have been using something like this to check if a user is logged in,
<?php if($this->data['loggedin']) { ?>
Is there anything similar to that to check if that user is a sysop?
No comments:
Post a Comment