You may change the bar using this hook:
http://www.mediawiki.org/wiki/Manual:Hooks/PersonalUrls
The status can be determined with
$_GLOABLS['user']->isAnon();
which returns true if the user is anonymous.
On Wed, Jan 14, 2009 at 12:34 AM, Platonides <Platonides(a)gmail.com> wrote:
Ken McDonald wrote:
If this isn't the right newsgroup for this
request, please let me
know. It seemed the most appropriate of the (numerous!) choices :-)
We're using MW to set up a site that will be read-only to outside
users, and would like to hide the "action bar" (the one that includes
"history") as those actions are not necessary for what we want. I
can't do this with CSS without also hiding the same buttons when a
user is logged in, which is obviously not desirable. Can anyone offer
advice on this?
Thanks,
Ken McDonald
Hide with CSS. If user is logged in produce overriding CSS to show them.
However note that some skins don't look correctly if you hide all the
actions.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l