Podręcznik:$wgRequirePasswordforEmailChange

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgRequirePasswordforEmailChange and the translation is 41% complete.

Other languages:
English • ‎dansk • ‎español • ‎magyar • ‎polski • ‎português do Brasil • ‎日本語
Email settings: $wgRequirePasswordforEmailChange
Decyduje czy uzytkownik musi wpisać hasło aby zmienić swój adres e-mail
Wprowadzono w wersji:1.20.0
Usunięto w wersji:1.27.0
Dozwolone wartości:(wartość logiczna)
Domyślna wartość:true

Szczegóły

Ustaw na true (domyślne ustawienie) aby wymagać od użytkowników podania swojego hasła podczas zmiany adresu e-mail. Ustaw na false aby wyłączyć ten wymóg.

Avoid changing this setting on public wikis following security considerations.
The functionality this configuration setting provided was removed in an effort to adapt reality to MediaWiki rather than vice versa. It is no longer possible to change an email address without knowing the respective accounts password.
Starting with MW 1.27.0 the pre MW 1.20.0 procedure has to be followed:
  1. The user "John Doe" who cannot request a new password because the email address added is no longer available or never existed due to a typo when adding the the email address has to create another account on the wiki, e.g. "John Doe 2"
  2. The admin uses the UserMerge extension to merge the old account "John Doe" into the new account "John Doe 2" and at the same time deletes the old account.
  3. The admin uses the Renameuser extension to rename the new account "John Doe 2" to "John Doe" to regain the old user account name.
Note that this is a procedure you will probably like to avoid whenever you can since it involves numerous "invasive" database actions to reassign the edits of the accounts involved thus increasing the chance of something going wrong.

Zobacz też

  • Rozszerzenie:Sudo - allows to log into a foreign account without knowing the respective accounts password. Useful for MediaWiki 1.20.x to 1.26.x in conjunction with this configuration setting.