Index: trunk/phase3/includes/SpecialUserlogin.php |
— | — | @@ -705,6 +705,7 @@ |
706 | 706 | $wgOut->setPageTitle( wfMsg( 'userlogin' ) ); |
707 | 707 | $wgOut->setRobotpolicy( 'noindex,nofollow' ); |
708 | 708 | $wgOut->setArticleRelated( false ); |
| 709 | + $wgOut->disallowUserJs(); // just in case... |
709 | 710 | $wgOut->addTemplate( $template ); |
710 | 711 | } |
711 | 712 | |
Index: trunk/phase3/includes/SpecialResetpass.php |
— | — | @@ -74,6 +74,8 @@ |
75 | 75 | |
76 | 76 | function showForm() { |
77 | 77 | global $wgOut, $wgUser, $wgRequest; |
| 78 | + |
| 79 | + $wgOut->disallowUserJs(); |
78 | 80 | |
79 | 81 | $self = SpecialPage::getTitleFor( 'Resetpass' ); |
80 | 82 | $form = |