Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgWhitelistRead and the translation is 46% complete.
Other languages:
English • ‎español • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
User rights, access control and monitoring: $wgWhitelistRead
Páginas que o utilizador anónimo poderá ver.
Introduzida na versão:1.1.0
Removida na versão:ainda em uso
Valores permitidos:(matriz de nomes de página), ou false
Valor por omissão:false


If a group of users is blocked from viewing the wiki by using the $wgGroupPermissions configuration parameter...

$wgGroupPermissions[...]['read'] = false; may still want them to be able to view certain key pages, in particular the login page! This setting holds an array of page names that all users are allowed to view, regardless of their group permissions.

A recommended minimum which allows everyone to view the home page and the login screen as well as loading CSS/JS customizations is as follows:

MediaWiki ≥ 1.18.1[1]
$wgWhitelistRead = [
    "Main Page", "MediaWiki:Common.css", "MediaWiki:Common.js"
"Main Page" uses spaces instead of underscores between words.
Aviso Aviso: If you are using a content language other than English, you may need to use the translated special page names instead of their English names.

Consulte também


  1. Starting with r105428 "Special:PasswordReset" is always whitelisted just like "Special:UserLogin" and "Special:ChangePassword".