Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | 'CreateAccount' => array( 'SpecialRedirectToSpecial', 'CreateAccount', 'Userlogin', 'signup', array( 'uselang' ) ), |
91 | 91 | 'Preferences' => array( 'SpecialPage', 'Preferences' ), |
92 | 92 | 'Watchlist' => array( 'SpecialPage', 'Watchlist' ), |
93 | | - 'Resetpass' => 'PasswordReset', |
| 93 | + 'Resetpass' => 'SpecialResetpass', |
94 | 94 | |
95 | 95 | |
96 | 96 | 'Recentchanges' => 'SpecialRecentchanges', |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -469,7 +469,7 @@ |
470 | 470 | 'SpecialContributions' => 'includes/specials/SpecialContributions.php', |
471 | 471 | 'NewPagesPager' => 'includes/specials/SpecialNewpages.php', |
472 | 472 | 'PageArchive' => 'includes/specials/SpecialUndelete.php', |
473 | | - 'PasswordReset' => 'includes/specials/SpecialResetpass.php', |
| 473 | + 'SpecialResetpass' => 'includes/specials/SpecialResetpass.php', |
474 | 474 | 'PopularPagesPage' => 'includes/specials/SpecialPopularpages.php', |
475 | 475 | 'PreferencesForm' => 'includes/specials/SpecialPreferences.php', |
476 | 476 | 'RandomPage' => 'includes/specials/SpecialRandompage.php', |
Index: trunk/phase3/includes/specials/SpecialResetpass.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * Let users recover their password. |
10 | 10 | * @ingroup SpecialPage |
11 | 11 | */ |
12 | | -class PasswordReset extends SpecialPage { |
| 12 | +class SpecialResetpass extends SpecialPage { |
13 | 13 | public function __construct() { |
14 | 14 | parent::__construct( 'Resetpass' ); |
15 | 15 | } |
Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -583,7 +583,7 @@ |
584 | 584 | function resetLoginForm( $error ) { |
585 | 585 | global $wgOut; |
586 | 586 | $wgOut->addHTML( Xml::element('p', array( 'class' => 'error' ), $error ) ); |
587 | | - $reset = new PasswordResetForm( $this->mName, $this->mPassword ); |
| 587 | + $reset = new SpecialResetpass(); |
588 | 588 | $reset->execute( null ); |
589 | 589 | } |
590 | 590 | |