Hello
I am searching the archives for an answer at the moment, but it’s a pretty long task, so I thought I would post the question while I searched in case anyone had an answer.
In http://meta.wikimedia.org/wiki/Preventing_Access there is an excellent section detailing how to restrict read access for a custom namespace to a single group. I am attempting to modify the same approach so that I can restrict edit access instead.
The idea is that we intend to operate a public wiki, but a small portion of the content is to be set aside to host the official product documentation. I want this custom namespace to only permit edit access to members of a custom group.
At first glance, it seems I need to edit Title.php and modify the userCanEdit() function, but my initial attempts generate some pretty gnarly errors. My PHP skills are VERY novice level, and I have only been using Wikipedia for a week, so I feel a bit like a bull in a fine china shop.
Can anyone provide a hint or some pointers?
Thanks
Isaac Guenard Sr. Product Manager - eyeon Software
web : www.eyeonline.com email : izyk@eyeonline.com phone : 416 686-8411 x300
Hi
Another way to prevent access is explained here
http://meta.wikimedia.org/wiki/Hidden_pages
and seems to be what you are looking for !
Didier Courtaud
On Fri, Jul 07, 2006 at 02:48:18PM -0400, Isaac Guenard wrote:
Hello
I am searching the archives for an answer at the moment, but its a pretty long task, so I thought I would post the question while I searched in case anyone had an answer.
In http://meta.wikimedia.org/wiki/Preventing_Access there is an excellent section detailing how to restrict read access for a custom namespace to a single group. I am attempting to modify the same approach so that I can restrict edit access instead.
The idea is that we intend to operate a public wiki, but a small portion of the content is to be set aside to host the official product documentation. I want this custom namespace to only permit edit access to members of a custom group.
At first glance, it seems I need to edit Title.php and modify the userCanEdit() function, but my initial attempts generate some pretty gnarly errors. My PHP skills are VERY novice level, and I have only been using Wikipedia for a week, so I feel a bit like a bull in a fine china shop.
Can anyone provide a hint or some pointers?
Thanks
Isaac Guenard Sr. Product Manager - eyeon Software
web : www.eyeonline.com email : izyk@eyeonline.com phone : 416 686-8411 x300
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org