Hello everyone,
in new version of MediaWiki the $user->isSysop() function is deprecated. Can anybody tell me, what can I use instead of this ???
Thanks.
Borut
Borut Tomažin wrote:
Hello everyone,
in new version of MediaWiki the $user->isSysop() function is deprecated. Can anybody tell me, what can I use instead of this ???
Generally you'd $wgUser->isAllowed(), passing the particular permission key you're looking for (which could be conferred by any number of groups, not just the old hard-coded "sysop").
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org