Jump to content

Extension:UserPageEditProtection/ko

From mediawiki.org
This page is a translated version of the page Extension:UserPageEditProtection and the translation is 7% complete.
미디어위키 확장 기능 설명서
UserPageEditProtection
출시 상태: 안정
구현 사용자 권한
설명 Allows to restrict edit access to user pages
만든 이
최신 버전 4.1.0 (2020-03-07)
MediaWiki 1.29 - 1.46
PHP 7.0+
데이터베이스 변경 아니오
$wgOnlyUserEditUserPage
editalluserpages
Licence GNU General Public License 2.0 or later
다운로드
README
CHANGELOG
UserPageEditProtection 확장 기능 번역 (translatewiki.net에서 가능한 경우)

The UserPageEditProtection extension restricts user page edit to the owner of the page and users assigned to groups that have user page edit access through $wgGroupPermissions. This effectively provides users with a group of protected pages, since this protection extends to any subpages of the user page (i.e., User:Hoggwild/sandbox1). Any user assigned to a group with view rights to user pages can read a user page, but only an authorized user may edit it. This extension has no effect on user talk pages.

설치

  • 파일을 Download하고 UserPageEditProtection 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'UserPageEditProtection' );
    $wgOnlyUserEditUserPage = true;
    
  • Configure user permissions as required
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Configuration

This extension comes with an extra user right called editalluserpages to allow fine-grained control. By default it is assigned to the "sysop" user group. To assign it to another user group, e.g., userpageeditor, add the following code to the "LocalSettings.php" file right after invoking this extension:

$wgGroupPermissions['userpageeditor']['editalluserpages'] = true;

You revoke permission for the "sysop" user group, for example, by adding the following line:

$wgGroupPermissions['sysop']['editalluserpages'] = false;

See also