I finally got a test environment set up so I can try out different methods for access control.
The first one I wanted to try was suggested by Platonides.
I took a look at the diffs at http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19110 and applied them manually to included/Title.php and includes/DefaultSettings.php.
This is as far as I got. I guess since it isn't included in the default download of MediaWiki there isn't much talk about using it out there. Could someone explain to me how I would use this to restrict editing of pages in "namespace x" to users in "group y"?
Thanks, ~Eric
Relevant quotes from a previous thread "access controls in 1.9.3" below
Platonides wrote:
Frederik Dohr wrote:
If you only want to restrict by namespace, it's much easier. You
could
code an an extension for it or even use the builtin $wgNamespaceProtection (including everything but Talk namespace).
Hmm, the manual page* says $wgNamespaceProtection was introduced in
v1.10, which has not been released yet... !?
Sounds interesting though!
It's on SVN. You can download a full install from there http://www.mediawiki.org/wiki/Download_from_SVN
You can also patch your current version. $wgNamespaceProtection was included in r19110 http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19110
Another posible solution would be using the Talkright extension http://meta.wikimedia.org/wiki/Talkright_extension
Platonides wrote:
Frederich, Eric P21322 wrote:
Does using $wgNamespaceProtection give me the option to restrict
editing
anything in a namespace (except the talk pages) to a particular
group?
I'm guessing I can create a custom group of people and don't have to
use
the default sysop / bureaucrat stuff.
Yes, it requires the user to have a permission (which you can give to a
custom group). Talk pages are not affected, as Talk_X is a different namespace
than X
Eric,
I use the lockdown.php extension - and I'm loving it.
I was going to put the full instructions, but frankly they're just too long. If you register at our development wiki, I'll give you access (may take a day or so).
Start here:
http://wiki.montcopa.org/MediaWiki/index.php?title=MediaWiki_FAQs
Then go to
http://wiki.montcopa.org/MediaWiki/index.php?title=Creating_a_New_MediaWiki_ Community
Of course, as always, I probably did it the hard way.
Jack D. Pond CIO, Montgomery County, PA
"Truth is beautiful, without doubt; but so are lies." -- Ralph Waldo Emerson, (1803-1882)
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederich, Eric P21322 Sent: Wednesday, April 04, 2007 5:48 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] $wgNamespaceProtection
I finally got a test environment set up so I can try out different methods for access control.
The first one I wanted to try was suggested by Platonides.
I took a look at the diffs at http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19110 and applied them manually to included/Title.php and includes/DefaultSettings.php.
This is as far as I got. I guess since it isn't included in the default download of MediaWiki there isn't much talk about using it out there. Could someone explain to me how I would use this to restrict editing of pages in "namespace x" to users in "group y"?
Thanks, ~Eric
On 05/04/07, Jack D. Pond jack.pond@psitex.com wrote:
If you register at our development wiki, I'll give you access (may take a day or so).
Good Morning, Jack,
I have very similar interests at the moment - limiting access - and have taken the liberty of also registering at your wiki.
If this is OK, could I ask you to give me access to the info also, please? My registration ID is MikeMaughan.
Jack,
I created an account "Ericfrederich". Please give me access to this information.
Some questions about the lockdown.php extension. Does it allow me to have a handful of pages only editable by a particular group and another handful of pages only editable by another group?
~Eric
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jack D. Pond Sent: Wednesday, April 04, 2007 11:28 PM To: 'MediaWiki announcements and site admin list' Subject: Re: [Mediawiki-l] $wgNamespaceProtection
Eric,
I use the lockdown.php extension - and I'm loving it.
I was going to put the full instructions, but frankly they're just too long. If you register at our development wiki, I'll give you access (may take a day or so).
Start here:
http://wiki.montcopa.org/MediaWiki/index.php?title=MediaWiki_FAQs
Then go to
http://wiki.montcopa.org/MediaWiki/index.php?title=Creating_a_New_MediaW iki_ Community
Of course, as always, I probably did it the hard way.
Jack D. Pond CIO, Montgomery County, PA
"Truth is beautiful, without doubt; but so are lies." -- Ralph Waldo Emerson, (1803-1882)
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederich, Eric P21322 Sent: Wednesday, April 04, 2007 5:48 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] $wgNamespaceProtection
I finally got a test environment set up so I can try out different methods for access control.
The first one I wanted to try was suggested by Platonides.
I took a look at the diffs at http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19110 and applied them manually to included/Title.php and includes/DefaultSettings.php.
This is as far as I got. I guess since it isn't included in the default download of MediaWiki there isn't much talk about using it out there. Could someone explain to me how I would use this to restrict editing of pages in "namespace x" to users in "group y"?
Thanks, ~Eric
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org