Henno,
I do not know, if this helps, but I have in EnotifWiki (= Mediawiki1.5
rc3) an option "Auto-account creation and auto-login".
See also
http://bugzilla.wikipedia.org/show_bug.cgi?id=1360
There is a flowchart, which says more than 1000 words ;-)
http://bugzilla.wikipedia.org/attachment.cgi?id=385&action=view
This is not an external script, but can help you to design one.
Tom
Henno van Arkel schrieb:
Hi,
I've searched on the meta-wiki and googled for the last two days, but
I can't seem to manage to be able to create a wiki-user from an
outside script.
My questions are:
1) I'm using the following code to generate the wiki password (as far
as I can tell it's identical as in the wiki source [1.5]).
$wiki_password = md5($wiki_user_id . "-" . md5($_POST['password1']) );
2) the table user_rights. Setting the correspondent id to 'user' or
'sysop' doesn't solve the problem either. The right value for this is
just "user" is it not?
3) Right now, in the user table, I'm setting user_id, user_name,
user_real_name, user_password, and user_email. Do I need to set
user_options as well? Any others?
Any help much appreciated,
Henno
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l