Hi John,
No, not yet. When 1.5 goes stable/final I'll be upgrading. It might work anyway, though (been tracking commits and haven't seen anything touching the parts of the code that this patch touches).
I have a big conference coming up; so if you ask me nicely after Oct 9, I can definitely get you the patch. Until then I'm probably going to be way too slammed with work to do it. :(
Ben
John Ky wrote:
Hi Ben,
I am very much interested in this magic word patch. I have a very conservative group of people and I want to first get them accustomed to the concept of wikis before I put the case to them for opening the wiki for public access.
The patch would really help me setup the wiki in a way that stands the best chance of getting accepted by the group.
Is the patch available for 1.5?
Thanks
-John
Ben Garney wrote:
Hi guys,
Maybe unrelated, maybe helpful - I added some code to my MW instance to allow the requirement of a magic word before people can create an account. So to create an account there's an additional field where they have to specify the magic word before it'll let them in. Good for closed betas and the like where you aren't trying to be secure, just to keep out casual passers-by.
If people are interested, I can probably make a little patch and post it up somewhere.
Regards, Ben Garney
John Ky wrote:
Hi,
Thanks for replying.
The configuration I want to setup is this:
The wiki is configured to disallow anonymous users from viewing pages.
A special user say "Guest" is given two privileges:
- View pages
- Create users
I can then give people I know the user/password for Guest and they can then view pages, or at their option be able to create an account that they can use to edit pages.
What is the best way of achieving something like this?
Thanks
-John
Ashar Voultoiz wrote:
Actually no. All user accounts are assigned the 'user' group permissions for which you can add / remove rights.
Adding in your localsettings.php: $wgGroupPermissions['user']['delete'] = true;
Would let logged in users delete pages.
In User.php User::loadFromDatabase , near the end of the method, the following line seems to determine the group membership:
$effectiveGroups = array_merge( array( '*', 'user' ), $this->mGroups );
You can probably add groups there ;)
cheers,
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l