From 95b9f46d70c7ec7fa3a4a8c2fff0537045e4a8c8 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 7 Apr 2010 15:47:21 +0000 Subject: [PATCH] * Special:ChangePassword no longer loads user javascript --- RELEASE-NOTES | 1 + includes/specials/SpecialResetpass.php | 1 + 2 files changed, 2 insertions(+) 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' ) ); -- 2.20.1