Fixes for r64708:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 9 Apr 2010 18:21:50 +0000 (18:21 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 9 Apr 2010 18:21:50 +0000 (18:21 +0000)
* removed the other disallowUserJs() call, for consistency with Special:Preferences
* removed RELEASE-NOTES entry

Also changed "SpecialPage::getTitleFor( 'Restpass' )" to $this->getTitle().

RELEASE-NOTES
includes/specials/SpecialResetpass.php

index ebaf08b..6a92370 100644 (file)
@@ -96,7 +96,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   exceeding $wgMaxImageArea can still be embedded at original size
 * (bug 23078) "All public logs" option on Special:Log is now always the first
   item
-* Special:ChangePassword no longer loads user javascript
 * (bug 16817) Group names in user rights log are now singular and in lowercase
 
 === API changes in 1.17 ===
index 6f484e5..e4bc54f 100644 (file)
@@ -90,9 +90,7 @@ class SpecialResetpass extends SpecialPage {
        function showForm() {
                global $wgOut, $wgUser, $wgRequest;
 
-               $wgOut->disallowUserJs();
-
-               $self = SpecialPage::getTitleFor( 'Resetpass' );
+               $self = $this->getTitle();
                if ( !$this->mUserName ) {
                        $this->mUserName = $wgUser->getName();
                }