Index: trunk/phase3/includes/User.php |
— | — | @@ -3602,8 +3602,8 @@ |
3603 | 3603 | * Used by things like CentralAuth and perhaps other authplugins. |
3604 | 3604 | */ |
3605 | 3605 | public function addNewUserLogEntryAutoCreate() { |
3606 | | - global $wgNewUserLog; |
3607 | | - if( empty( $wgNewUserLog ) ) { |
| 3606 | + global $wgNewUserLog, $wgLogAutocreatedAccounts; |
| 3607 | + if( !$wgNewUserLog || !$wgLogAutocreatedAccounts ) { |
3608 | 3608 | return true; // disabled |
3609 | 3609 | } |
3610 | 3610 | $log = new LogPage( 'newusers', false ); |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3328,6 +3328,11 @@ |
3329 | 3329 | $wgNewUserLog = true; |
3330 | 3330 | |
3331 | 3331 | /** |
| 3332 | + * Log the automatic creations of new users accounts? |
| 3333 | + */ |
| 3334 | +$wgLogAutocreatedAccounts = false; |
| 3335 | + |
| 3336 | +/** |
3332 | 3337 | * List of special pages, followed by what subtitle they should go under |
3333 | 3338 | * at Special:SpecialPages |
3334 | 3339 | */ |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -21,6 +21,8 @@ |
22 | 22 | === Configuration changes in 1.17 === |
23 | 23 | * DatabaseFunctions.php that was needed for compatibility with pre-1.3 |
24 | 24 | extensions has been removed. |
| 25 | +* $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged |
| 26 | + to new users log. |
25 | 27 | |
26 | 28 | === New features in 1.17 === |
27 | 29 | * (bug 10183) Users can now add personal styles and scripts to all skins via |