Forum:Shared users/permissions. Mediawiki Talk.

I've been working on modding MediaWiki on a private instalation on my own computer. Kinda for a possible site movement in the future in which I would have full dev control over my current wiki and others. (Don't mind me on that.) But I'm just curious how wikia has it's shared data working. I know that the users table is easily placed on the shared area by adding the $wfSharedDB option, but what about user_groups. I know it would be relatively simple to use the area where the usertable is changed to being accessed from the shared area, and add the user_group to that area (I did that with my interwiki table), but that would make all flags universal. But wikia has a Staff flag which is universal to all wikia, but the rest of the permissions are local. I'm just wondering how they did that. I'm hacking mine so that user_groups are grabbed from both tables at the same time in querys, and I added a small bit to addGroup and removeGroup that will force certain flags to be added/removed to/from the shared database, while the rest are altered on the local database. Anyone else have a thought? (This isn't mediawiki help, I'm capable of moding the code myself, I'm just wondering how wikia does it.) Dantman (Talk) 08:47, 12 September 2006 (UTC)