[Mediawiki-l] CentralAuth problems: Help required

craigjames1984 at bigstring.com craigjames1984 at bigstring.com
Sat Oct 11 14:01:22 UTC 2008


 I set up CentralAuth on my localhost wiki before I move it to my webhost.
It works almost well, apart from the fact two errors happen when my account  is merged:You are ready to create your unified account, with the following wikis attached: Home wikiThe password and e-mail address set at this wiki will be used for your unified account. You will be able to change which is your home wiki later. localhost/$ (home wiki)

Attached account
 The account named "WikiSysop" on each of the following sites will be automatically attached to the unified accountlocalhost/$ (confirmed by password)The accounts merge successfully, but it doesn't show the database names (in this case, wikitest1 and wikitest2)

Also, when I try to change global group memberships, it says errors exist in the SpecialUserrights.php files and global rights logs don't work.

Does anyone know what I need to do to fix it.

Here's a sample from my LocalSettings.php:
require_once( 'extensions/Makesysop/SpecialMakesysop.php' );
require_once ("$IP/extensions/CentralAuth/CentralAuth.php");
$wgLocalDatabases = array(
    '2008wiki',
    '2009wiki',
);
 
$wgConf->wikis = $wgLocalDatabases;
$wgConf->suffixes = array( 'wiki' );
 
 
$wgConf->settings = array(
'wgServer' => array(
    'default' => 'http://localhost',
),
 
'wgScriptPath' => array(
    'default' => '/wiki$lang',
),
 
'wgArticlePath' => array(
    'default' => '/wiki$lang/index.php/$1',
),
 
'wgSitename' => array(
    'wikisite1' => 'Testwiki',
    'wikisite2' => 'WikiSite',
),
 
'wgLanguageCode' => array(
    'default' => 'en',
),
 
'wgLocalInterwiki' => array(
    'default' => '$lang',
),
 
);
 
list( $site, $lang ) = $wgConf->siteFromDB( $wgDBname );
$params = array(
    'site' => $site,
    'lang' => $lang,
    'wiki' => $wgDBname,
);
$wgConf->extractAllGlobals( $wgDBname, $site, $params, array() );

require_once( "..\CommonSettings.php" );
$wgGroupPermissions['steward']['globalgrouppermissions'] =true;
$wgGroupPermissions['steward']['globalgroupmembership'] =true;
$wgGroupPermissions['steward']['globaluserrights'] = true;
$wgGroupPermissions['steward']['centralauth-admin'] = true;

Also, anyone know how to get the user rights logs (for makesysop) to display interwiki links to user pages, like they do on http://meta.wikimedia.org - mine are just redlinked.

Advice much appreciated.

Craig

 <img src="http://recallable.bigstring.com/T9lbdxb1223733682.gif" alt="" width="0" height="0">
<img src="http://www.bigstring.com/refer.php?img=64" width="1" height="1">Send Self-Destructing Instant Messages with BigString's new IM.  Share your thoughts and ideas without the worry of what the receiving party may be retaining.  



More information about the MediaWiki-l mailing list