This page is a translated version of the page Manual:$wgWhitelistEdit and the translation is 23% complete.
Droits utilisateur, contrôle d'accès et supervision: $wgWhitelistEdit
If true, users must login to edit.
Introduit dans la version :1.1.0
Retiré dans la version :1.5.0
Valeurs autorisées :(boolean)
Valeur par défaut :false


If true, users must login to edit.

It's not 100% safe, there could be a security hole using that one. Use at your own risks.

MediaWiki version 1.5 et suivantes

This setting was deprecated in version 1.5.0, and replaced by $wgGroupPermissions , specifically the 'edit' permission.

To emulate the old effect of setting:

   $wgWhitelistEdit = true;


   $wgGroupPermissions['*']['edit'] = false;

If $wgWhitelistRead is set, you must also disable the 'read' permission for it to take effect on anonymous users:

   $wgWhitelistRead = array( "Main Page", "Special:Userlogin" );
   $wgGroupPermissions['*']['read'] = false;

Voir aussi