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)
 * Actually, the staff flag does not seem to be universal, see Bug 425. --Kernigh 03:22, 15 September 2006 (UTC)
 * oh wow... If even wikia dosen't have partialy shared permissions then if I can move the gaiapedia to a actual host, we might be the first to have semi shared permissions. As far as I know I have finished the hack and it's working fine (Though there may be a page or two that needs an update.) My /extensions, /includes, /skins, and /languages folders are actualy shared along with a GlobalSettings.php, and the ExtensionFunctions.php is also placed inside of a /allwiki folder instead of the individual folders so when I add a hack it's universal unless I alter index.php.
 * I'm actualy working on building a shared sidebar right now... Trying to mod it to use the shared- prefix to access the MediaWiki stuff on our Meta wiki, and I have interwiki templates working for our wikis.


 * Hey wait. Why dosen't wiki do the simple task when it comes to interwiki linking. I have a extension installed that lets me edit the table using a SpecialPage and I have a interwiki flag which is universal to the wikis that lets people edit the table. Plus my interwiki table is shared between all the wikis. And since it was something I had to do all the time I added a purge button. and for testing a staff only option that disables the message cache from grabbing things from the cach on the page you're on. (The message cache was causing errors in testing trying to get the shared sidebar working.) Dantman (Talk) 06:47, 15 September 2006 (UTC)