Home | FAQ | Server | Presentations | Mailing Lists/Archives | Member Tools | Links | Sponsors | Contact|
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 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 |
_______________________________________________ members mailing list EMAIL:PROTECTED http://mlug.missouri.edu/mailman/listinfo/members