Topic on Project:Support desk

E-Mail in registration not optional

8
Evetro (talkcontribs)

Hi,

in my Wiki the registration field E-Mail is optional. How can i change that to required?

AhmadF.Cheema (talkcontribs)
This post was hidden by Evetro (history)
AhmadF.Cheema (talkcontribs)

When you set the following in your LocalSettings.php, the term "(optional)" from "Email address (optional)" will automatically be removed.

$wgEmailConfirmToEdit = true;
Evetro (talkcontribs)

Thats correct, but then is a registration required to edit articles!? And i want that the EMail ist required by registration.

AhmadF.Cheema (talkcontribs)
Алексей Скрипник (talkcontribs)

I have the same problem. How to make email to be required in a new user registration form?

AhmadF.Cheema, wgEmailConfirmToEdit is not a solution, because it will affect anonymous users as well. I want to have 2 categories of users on my wiki:

  1. anonyms that can edit any article without extra steps
  2. registered users with confirmed emails

I don't want to have users without emails or with emails that was not confirmed, but at the same time i'm totally fine with anonymous users editing articles without giving any personal information.

Reply to "E-Mail in registration not optional"