OK, in wiki1 where Makesysop is installed and shares the DB username and password I have: $wgLocalDatabases = array('gkirk_mwSVN' => 'garykirk'); where gkirk_mwSVN is the name of the database of wiki2. On wiki1 at Special:Makesysop I type Test2@garykirk and get:
*User rights for "Test2@garykirk" could not be set. (Did you enter the name correctly?)*
On 06/09/07, Gary Kirk gary.kirk@gmail.com wrote:
On 06/09/07, Brion Vibber brion@wikimedia.org wrote:
Gary Kirk wrote:
I don't understand how this works with $wgLocalDatabases in order to
set
user rights on other wikis I operate. Is there a step-by-step guide
and
preequisites? Does the database username and password have to be the
same on
all? Does the Makesysop extension need to be installed on all wikis? Please help if you can.
It's a bit of a freaky hack, so it's not well documented. :)
Roughly...
- Database username and password should be the same.
- Avoid using table prefixes, they probably would explode.
- List all controllable database names in $wgLocalDatabases array.
- the value listed in $wgDBname in the other wiki's LocalSettings.php?
- If not all databases are on the same server, add entries to
$wgAlternateMaster indicating which dbs are on which hosts.
- Makesysop extension should be enabled at least available at a master
location, but doesn't necessarily have to be everywhere.
Good luck!
-- brion vibber (brion @ wikimedia.org )
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Gary Kirk