r95618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95617‎ | r95618 | r95619 >
Date:06:53, 28 August 2011
Author:wikinaut
Status:ok
Tags:
Comment:
this commit reverts my r95596 because that patch for a new right 'resetpassword' raised more question than it solved problems
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialPasswordReset.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -3380,7 +3380,6 @@
33813381 /** @cond file_level_code */
33823382 // Implicit group for all visitors
33833383 $wgGroupPermissions['*']['createaccount'] = true;
3384 -$wgGroupPermissions['*']['resetpassword'] = true;
33853384 $wgGroupPermissions['*']['read'] = true;
33863385 $wgGroupPermissions['*']['edit'] = true;
33873386 $wgGroupPermissions['*']['createpage'] = true;
Index: trunk/phase3/includes/specials/SpecialPasswordReset.php
@@ -29,7 +29,7 @@
3030 class SpecialPasswordReset extends FormSpecialPage {
3131
3232 public function __construct() {
33 - parent::__construct( 'PasswordReset', 'resetpassword' );
 33+ parent::__construct( 'PasswordReset' );
3434 }
3535
3636 public function userCanExecute( User $user ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95596Patch to make SpecialPasswordReset only available to groups...wikinaut10:11, 27 August 2011

Status & tagging log