Manual:CreateAndPromote.php/ko

미디어위키 버전:
1.7
Category:MediaWiki code/ko#CreateAndPromote.php

세부

maintenance script에서는 신규 사용자를 만들거나 기존 사용자를 수정한다 For the corresponding user, 이 스크립트는 추가적인 권한(e.g. 관리자, 사무관 또는 봇 권한)을 부여하고 사용자의 암호를 바꾼다.

Since the script can be used not only to create new users, but also on existing users to promote them, and also to create a user without promoting them, the name createAndPromote.php is somewhat misleading.

이 스크립트는 사용자 그룹을 제거하는 데 사용될 수는 없다.

선택사항/토론

옵션/매개 변수설명Required?
<username>The name of the user you want to create or modify and - depending on the other parameters - promote. The --force flag is required if a user with this name already exists.Required
<password>사용자의 암호Required
--bureaucrat계정을 사무관 그룹에 추가Optional
--sysop계정을 관리자 그룹에 추가Optional
--bot계정을 봇 그룹에 추가Optional
--interface-admin계정을 interface-admin 그룹에 추가Optional
--custom-groups쉼표comma로 구분된 그룹 구성원 목록에 사용자를 추가 사용자를 따로 설정된 그룹custom group에 추가하는 것도 허용된다.
미디어위키 버전 1.27부터, 모든 사용자는 $wgGroupPermissions$wgRevokePermissions에 따라 설정된 그룹custom group이 있을 때에만 그 그룹에 추가될 수 있다. 실제로 존재하지 않는 그룹은 무시된다.
Optional
--force만약 계정이 이미 존재한다면, 권한을 부여하거나 암호를 변경한다. 이 경우 새로운 사용자 계정이 만들어지지 않는다.Optional
--helpDisplay help information for the script.Optional

용법

미디어위키 버전:
1.39
php maintenance/createAndPromote.php <username> [ <password>| --bureaucrat| --sysop| --bot| --interface-admin| --custom-groups group1,group2| --force ]
미디어위키 버전:
1.40
php maintenance/run.php createAndPromote <username> [ <password>| --bureaucrat| --sysop| --bot| --interface-admin| --custom-groups group1,group2| --force ]
Terminal

This creates a new user called "WikiSysop", sets the password and adds the user to the bureaucrat group, the sysop group and to the custom developer group.

See also

Category:Maintenance scripts/ko Category:User maintenance scripts/ko
Category:Maintenance scripts/ko Category:MediaWiki code/ko Category:User maintenance scripts/ko