Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] wiki suggestion?

On August 1, 2014, Bill Bogstad wrote:
>So if I understand what you are saying, MediaWiki gives either zero access
>or 100% access?   Sort of like having a login on a Unix/Linux system where
>every file/directory is Read/Write world.   You still need a login to
>do anything, but once you have one you can do practically anything.

Nope, it's better than that. :-)

You can define groups of users, each with different rights: read,
write, edit, delete, rename, and a few dozen others. Here's
Wikipedia's configuration in this regard:

To grant a particular right to a particular group of users, you simply
assign to a PHP array:

  $wgGroupPermissions['user']['read'] = true;

You can also create arbitrary new types of rights, like "the right to
turn pages blue" or "the right to delete articles whose title begins
with X." The core MediaWiki software won't know and respect those
rights, but you can create extensions that do.

Once you have your list of rights and the users who have them, you can
apply those rights at the namespace level:

  $wgNamespaceProtection['my-namespace'] = array( 'right1', 'right2' );

or at the "whole wiki" level.

What you cannot do is assign rights around an INDIVIDUAL article or
other collections of articles. This is where MediaWiki falls down
compared to certain other wiki software.

Dan Barrett
dbarrett at
Author, "MediaWiki" (O'Reilly)

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /