Hi,
We want to disable Signup for new users in mediawiki and want to add
them into database manually. for this we want to understand the sequence
of function used to store a new user into mediawiki database. we looked
this:-
includes/GlobalFunctions.php
function wfEncryptPassword( $userid, $password ) {
global $wgPasswordSalt;
$p = md5( $password);
if($wgPasswordSalt)
return md5( "{$userid}-{$p}" );
else
return $p;
}
But need to know that where $wgPasswordSalt set its value and finally
where this function called to get encryted password.
Can you suggest sequence of storing a new user in mediawiki as this will
be of great help.
Thank you
On 1/14/08, Alexis Moinet <alexis.moinet(a)fpms.ac.be> wrote:
sharmishtha gupta wrote :
I think i frame my question little bit confusing,
let me modifie a bit
I need to know that In what form is the password stored in MediaWiki,
OR, What encryption do we need to use to store a password manually in MW
user table?".
see :
http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2007-August/022784.htm… the file
includes/GlobalFunctions.php (function
wfEncryptPassword( $userid, $password ) )
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l