From e80d35503405cf93a6ca613111b5bebca7684f61 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 9 Apr 2010 18:21:50 +0000 Subject: [PATCH] Fixes for r64708: * removed the other disallowUserJs() call, for consistency with Special:Preferences * removed RELEASE-NOTES entry Also changed "SpecialPage::getTitleFor( 'Restpass' )" to $this->getTitle(). --- RELEASE-NOTES | 1 - includes/specials/SpecialResetpass.php | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ebaf08bf31..6a92370201 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/specials/SpecialResetpass.php b/includes/specials/SpecialResetpass.php index 6f484e5e2a..e4bc54f5b5 100644 --- a/includes/specials/SpecialResetpass.php +++ b/includes/specials/SpecialResetpass.php @@ -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(); } -- 2.20.1