Mediawiki Administrator login

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General
View previous topic :: View next topic  
Author Message
hydro



Joined: 07 Feb 2008
Posts: 4

PostPosted: Thu Feb 07, 2008 7:09 am    Post subject: Mediawiki Administrator login Reply with quote
After the integration with phpBB3, how does Mediawiki know who has administrative privileges? All the phpBB3 admins will also have administrative privileges in Mediawiki?

Thanks!
Back to top
View user's profile Send private message
hydro



Joined: 07 Feb 2008
Posts: 4

PostPosted: Thu Feb 07, 2008 7:37 am    Post subject: Reply with quote
nevermind, found the post below with the answer. Thanks!

http://uber.leetphp.com/forums/viewtopic.php?p=423#423
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Thu Feb 07, 2008 9:24 am    Post subject: Reply with quote
Np. Smile
Back to top
View user's profile Send private message
hydro



Joined: 07 Feb 2008
Posts: 4

PostPosted: Thu Feb 07, 2008 11:10 am    Post subject: Reply with quote
me again Smile

one more quick question ..

Before I installed the extension, the anonymous user was allowed to edit the wiki (or most of it).

Is there a way I can still allow anonymous users to edit the unprotected pages of the Wiki?

Thanks!
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Fri Feb 08, 2008 12:31 am    Post subject: Reply with quote
Not w/ this add-on
Back to top
View user's profile Send private message
hydro



Joined: 07 Feb 2008
Posts: 4

PostPosted: Fri Feb 08, 2008 6:37 am    Post subject: Reply with quote
root wrote:
Not w/ this add-on


Well I got it actually working. I simply added at the end (right after your extension) of the LocalSettings.php the following:

$wgGroupPermissions['*']['edit'] = true;
$wgGroupPermissions['*']['createpage'] = true;

and now it seems that the anonymous user is able to edit the wiki and create new pages. Just the way I wanted it.

If what I did above is correct (no security problems/interference with your extension), I will be very happy. Let me know what you think!

Thank you Nicholas for a great extension!
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Fri Feb 08, 2008 3:30 pm    Post subject: Reply with quote
Oh yea, In the constructor I turn off the ability of guests to edit the wiki.

If you want to change it. Either do just what you did and turn it back on after my code, or edit my code.

Find
Code:
$GLOBALS['wgGroupPermissions']['*']['edit'] = false;


Replace with
Code:
$GLOBALS['wgGroupPermissions']['*']['edit'] = true;


Sorry, I forgot about that.

Smile
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group