Whoops, I meant to say $wgLBFactoryConf, not $wgLoadBalancer Wikimedia's config is at https://noc.wikimedia.org/conf/highlight.php?file=db-eqiad.php but its super complicated. I would recommend following the simple example at https://www.mediawiki.org/wiki/Manual:$wgLBFactoryConf#3_wikis_all_using_localhost_as_db_server
For $wgConf see https://www.mediawiki.org/wiki/Manual:$wgConf -- Brian On Thu, Nov 15, 2018 at 2:03 PM Huji Lee <[email protected]> wrote: > > Thank you both. > > @ K. Peachy: I rather not use shared tables. These are tests wikis that I > am setting up just to have a mini version of the WMF environment, so I can > test patches and such. I believe WMF does not use shared tables so I rather > not either. > > @ Brian: what value does WMF use for $wgLoadBalancer? And what do you > recommend I should use, given that I have only one server (a linux VM > hosted locally on Virtual Box)? > > On Thu, Nov 15, 2018 at 5:16 AM Brian Wolff <[email protected]> wrote: > > > So im not sure, but first things id check: > > * wgMainCacheType is not set. In principle nothing should need this set as > > sessions should use $wgSessionCacheType, but i would reccomend ensuring > > that main cache type is set to something writable that works (if all else > > fails try $wgMainCacheType = CACHE_DB; ) just in case. > > * not using mediawiki builtin wikifarm stuff. I think centralauth depends > > on $wgLoadBalancer to be used for db config, and $wgConf being used at > > least for $wgServer and $wgScriptPath. > > > > -- > > brian > > > > On Wednesday, November 14, 2018, Huji Lee <[email protected]> wrote: > > > Admittedly, I never learned how to properly set up and configure > > > CentralAuth. > > > > > > I have installed two fresh wikis, called en.localhost and meta.localhost > > > and you can see the LocalSettings.php file that I am using at > > > https://phabricator.wikimedia.org/P7808 > > > > > > What I am trying to achieve is this: when you go to en.localhost and log > > > in, this should log you into both wikis. > > > > > > When I try logging in via en.localhost, I get this message:No active > > login > > > attempt is in progress for your session. > > > > > > And I am not logged into either wiki. :( > > > > > > Can you please tell me what I need to change in the configurations to > > make > > > this work? > > > > > > Thanks, > > > > > > Huji > > > _______________________________________________ > > > MediaWiki-l mailing list > > > To unsubscribe, go to: > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > _______________________________________________ > > MediaWiki-l mailing list > > To unsubscribe, go to: > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
