From 1fce53ad0bc01297e700b9cc3f65d309d9916029 Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 17 Sep 2012 02:38:20 +0200 Subject: [PATCH] Use email input type on SpecialChangeEmail Change the input type for the e-mail input field to HTML5 'email' ('input' should have been 'text' anyway'). Change-Id: Idb1195e3f56b6b43d3b86d38747a4113d04053b5 --- includes/specials/SpecialChangeEmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index fc72610602..0996de34c4 100644 --- a/includes/specials/SpecialChangeEmail.php +++ b/includes/specials/SpecialChangeEmail.php @@ -151,7 +151,7 @@ class SpecialChangeEmail extends UnlistedSpecialPage { $items = array( array( 'wpName', 'username', 'text', $user->getName() ), array( 'wpOldEmail', 'changeemail-oldemail', 'text', $oldEmailText ), - array( 'wpNewEmail', 'changeemail-newemail', 'input', $this->mNewEmail ), + array( 'wpNewEmail', 'changeemail-newemail', 'email', $this->mNewEmail ), ); if ( $wgRequirePasswordforEmailChange ) { $items[] = array( 'wpPassword', 'yourpassword', 'password', $this->mPassword ); -- 2.20.1