[Mediawiki-l] sequence to add a new user in mediawiki

Jack Eapen C jackec at suntecgroup.com
Mon Jan 14 11:31:40 UTC 2008


$wgPasswordSalt is set in defaultsettings.php. It's value is "true"

See http://www.mediawiki.org/wiki/Manual:%24wgPasswordSalt 

"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
sharmishtha gupta
Sent: Monday, January 14, 2008 4:43 PM
To: mediawiki-l at lists.wikimedia.org
Subject: [Mediawiki-l] sequence to add a new user in mediawiki


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);

  return md5( "{$userid}-{$p}" );
  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
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org

This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

More information about the MediaWiki-l mailing list