MLUG: RE: [MLUG] Ubuntu and Human Friendly Wiki?
RE: [MLUG] Ubuntu and Human Friendly Wiki?
Email address obfuscation in effect -- please click here to turn it off.

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

While it is true that the base install of MediaWiki does not contain any methods for finely tuned access control methods, you can roll your own extensions if you need to perform such operations. There’s a hook called userCan that is called whenever a request comes in to read/write/move/other permissions. By “simply” [1] making a php function and inserting it into your list of hooks you can modify this behavior based on (mediawiki) groups & group permissions, or almost anything else you could imagine...

 

This hook reference:

http://www.mediawiki.org/wiki/Manual:Hooks/userCan

 

An extension by Jim Wilson that makes use of this hook to only permit people who register on his site to edit pages in their userspace (as opposed to on the whole site, or other user’s userspaces). It makes the exception that sysops are unrestricted by this extension.

http://jimbojw.com/wiki/index.php?title=EditOnlyYourOwnPage

 

[1] Admittedly, writing your first MediaWiki extension there is a bit of a learning curve as there are a few nuances that aren’t often readily apparent (when objects are initialized, which hooks to use & are called when, when to use globals & locals, data representation, messages, return values,…) and can be a bit tricky, but with a decent amount of PHP knowledge it’s not too bad.

 

If you can, do avoid relying on modifying the core code (anything outside of LocalSettings.php, and the extensions directory or your own directory). Modifying code outside of extensions & settings can make upgrading a bit of a nightmare.

 

From: EMAIL:PROTECTED [mailto:EMAIL:PROTECTED] On Behalf Of Ian
Sent: Monday, October 15, 2007 10:36 PM
To: MLUG Members
Subject: Re: [MLUG] Ubuntu and Human Friendly Wiki?

 

I second the MediaWiki suggestion.  I've used it a couple different places, very easy to set up.  The only thing about MediaWiki is that it really doesn't have any access control levels (except you can make users login before editing.)  If you don't care that any of your user base can edit anything, it's definitely worth investigating.

On 10/15/07, Huggard, Arthur Charles (UMC-Student) <EMAIL:PROTECTED> wrote:

Personally I find MediaWiki (the software that drives Wikipedia) to be
very useful for data sharing. I set it up and configured it for my team
at Cerner, and when I have time, I've been working on getting my Lab
here to use it as well.

        The administration side of things does have a bit of a learning
curve, but it's a very extensible and flexible piece of software. It
runs nicely on your standard LAMP/WAMP server (works with various
caching packages for realizing a decent speedup), and the end-user side
of things isn't too complex. Assuming your users are all here at the
University, it's also fairly simple to have user accounts that are
authenticated against the University's Active Directory (there are a few
additional requirements for this though).

Hope this helps!

Regards,
Charlie

-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED] On Behalf Of Michael Procter
Sent: Monday, October 15, 2007 2:43 PM
To: EMAIL:PROTECTED
Subject: [MLUG] Ubuntu and Human Friendly Wiki?

My department is considering using a Wiki for sharing information
internally and with other departments around the University.  Is anyone
around here doing this already?  What software would you suggest for an
Ubuntu server and a group of users who aren't primarily "computer
people?"

--
Michael Procter
EMAIL:PROTECTED

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members

 

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members