Needed for a new extension to make (mass) account creation easier for schools/colleges etc
'CategoryPageView': before viewing a categorypage in CategoryPage::view
$catpage: CategoryPage instance
+'ChangeAccountCreationThrottle': Called to change $wgAccountCreationThrottle
+$ip: The ip address of the user
+&$wgAccountCreationThrottle: The global variable $wgAccountCreationThrottle to be changed
+
'ChangesListInsertArticleLink': Override or augment link to article in RC list.
&$changesList: ChangesList instance.
&$articlelink: HTML of link to article (already filled-in).
return false;
}
+ // Hook point to change $wgAccountCreationThrottle
+ wfRunHooks( 'ChangeAccountCreationThrottle', array( $ip, &$wgAccountCreationThrottle ) );
+
if ( $wgAccountCreationThrottle && $wgUser->isPingLimitable() ) {
$key = wfMemcKey( 'acctcreate', 'ip', $ip );
$value = $wgMemc->get( $key );