Manual:$wgWhitelistEdit

From MediaWiki.org
Jump to: navigation, search
User Access: $wgWhitelistEdit
If true, users must login to edit.
Introduced in version: 1.1.0
Removed in version: 1.5.0
Allowed values: (boolean)
Default value: false

Other settings: Alphabetical | By Function


[edit] Details

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.

[edit] Mediawiki Version 1.5 and onwards

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;

set:

   $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;

[edit] See also

Language: English  • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox