Jump to content

Manual:$wgWhitelistRead/ko

From mediawiki.org
This page is a translated version of the page Manual:$wgWhitelistRead and the translation is 7% complete.
User rights, access control and monitoring: $wgWhitelistRead
Pages users without the read right may see.
이 변수가 소개된 버전:1.1.0
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(array of page names) or false
기본값:false
경고 경고: 미디어위키 1.32에서 1.35.4, 1.36.2, 1.37.0에는 권한 없이 임의의 문서를 편집하고 임의 자바스크립트 실행을 허용하는 보안 문제가 있습니다. 이러한 버전 중 하나를 사용하고 있으며 최신 버전으로 업그레이드할 수 없는 경우 2021-12 security release/FAQ 을 참조하십시오.

Details

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

$wgGroupPermissions[...]['read'] = false;

...you may still want them to be able to view certain key pages, in particular the main page! This setting holds an array of page names that all users are allowed to view, regardless of their group permissions.

Special pages whitelisted allows the user to view subpages while normal pages whitelisted does not.

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:

All the revisions of whitelisted pages can be viewed via permanent link and revision navigation buttons.

MediaWiki ≥ 1.18.1[1]
$wgWhitelistRead = [
    'Main Page',
    'MediaWiki:Common.css',
    'MediaWiki:Common.js'
    ];
"Main Page" uses spaces instead of underscores between words.
경고 경고: 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.

같이 보기

References

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