* (bug 1586) Fix interwiki generator for wikimedia obscure domains
* (bug 3493) Mark edits patrolled when they are reverted
patch by Leon Planken
+* Add a hook for additional user creation throttle / limiter extensions
=== Caveats ===
This is a list of known events and parameters; please add to it if
you're going to add events to the MediaWiki code.
+'AbortNewAccount': Return false to cancel account creation.
+$user: the User object about to be created (read-only, incomplete)
+
'AddNewAccount': after a user account is created
null: This hook passes null as an argument
return false;
}
}
+
+ if( !wfRunHooks( 'AbortNewAccount', array( $u ) ) ) {
+ // Hook point to add extra creation throttles and blocks
+ wfDebug( "LoginForm::addNewAccountInternal: a hook blocked creation\n" );
+ return false;
+ }
if( !$wgAuth->addUser( $u, $this->mPassword ) ) {
$this->mainLoginForm( wfMsg( 'externaldberror' ) );