On 15/03/07, johan.boye@latecoere.fr johan.boye@latecoere.fr wrote:
Hello,
I am quite new in the Mediawiki world but I am trying actively to introduce it in my Company for online work but I have a couple of security related questions. I also know Wiki has been made to be open as much as possible that is why the editing granularity privileges are not fully implemented.
About my config: Linux Apache 2.0.* with Mediawiki 1.9.3 tweaked to run with .php5 files (5.1.6) Extension:HttpAuth & MultipleUpload plug-ins added who works perfectly
Basically, I need to fix a couple of things before put it in production:
- I would like to restrict access by 'area' in the wiki, on the
Mediawiki logic, sound like I should go on the Category restriction way. SO, Is there a way to restrict the "editors" by category? (I tested 'Extension:Group Based Access Control', 'Extension:DisallowAccessOnCategory' who gives me PHP error or doesn't have any effect)
Categories are tags added to pages; restricting content access based on them is dangerous, as users could open up holes just by adding or removing them. If you must try to restrict (edit) access, then I would recommend doing it by namespace (custom namespace tutorial/overview at http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces) and using the $wgNamespacePermissions configuration variable.
- I would like to improve the number of icons in the editor (like
wikipedia did with icons & tools tips at the bottom), is there a tut somewhere to add functions ? (tables / categories / gallery & so on) (I tried AddButtonExtention but i have this error : "Parse error: syntax error, unexpected '-', expecting T_STRING or T_VARIABLE or '$' in /mnt/intranet/IE/wiki/extensions/AddButtonExtension/AddButtonExtension.p hp on line 60") (Maybe because I'm using php4 with .php & .php5 for php5 ?)
Wikipedia does this with JavaScript; we provide support functions to allow this. Have a look at http://en.wikipedia.org/wiki/MediaWiki:Common.js - search for "Extra toolbar options".
Rob Church