in the function isValidPassWord the if condition on wfRunHooks is wrong, at least it seems a bit strange to me that your hook function should return false for it to evaluate the $result parameter you return... this is in the current trunk version of MediaWiki (1.12 alpha), possibly in earlier versions too...
anyway: function isValidPassword( $password ) { global $wgMinimalPasswordLength, $wgContLang;
$result = null; if( !wfRunHooks( 'isValidPassword', array( $password, &$result, $this ) ) ) return $result;
should be: function isValidPassword( $password ) { global $wgMinimalPasswordLength, $wgContLang;
$result = null; if( !wfRunHooks( 'isValidPassword', array( $password, &$result, $this ) ) ) return $result;
Cheers, Peter.