Believe the best was $wgUser=>isAllowed( 'right' );
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Thomas Dalton wrote:
Shouldn't you be able to put an if statement in the skin? Something like:
If ( $wgUser->hasRights() ) { echo $links; }
Though hasRights is just something I made up. I forgot what the real one is called.
userCan()?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l