From: Alexandre Emsenhuber Date: Wed, 7 Apr 2010 15:47:21 +0000 (+0000) Subject: * Special:ChangePassword no longer loads user javascript X-Git-Tag: 1.31.0-rc.0~37228 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=95b9f46d70c7ec7fa3a4a8c2fff0537045e4a8c8;p=lhc%2Fweb%2Fwiklou.git * Special:ChangePassword no longer loads user javascript --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b22cc35985..fd0935cff7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -94,6 +94,7 @@ 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 === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent diff --git a/includes/specials/SpecialResetpass.php b/includes/specials/SpecialResetpass.php index 8c1eee7083..6f484e5e2a 100644 --- a/includes/specials/SpecialResetpass.php +++ b/includes/specials/SpecialResetpass.php @@ -31,6 +31,7 @@ class SpecialResetpass extends SpecialPage { $this->setHeaders(); $this->outputHeader(); + $wgOut->disallowUserJs(); if( !$wgAuth->allowPasswordChange() ) { $this->error( wfMsg( 'resetpass_forbidden' ) );