This function returns a boolean: true if you're logged in, false if you're not.
<script> if (widget.loggedIn()) doSomething(); </script>
For example, if you want to hide the edit button from readers:
<script>
if (!widget.loggedIn()) hideButton('Edit page');
</script>
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |