Extension:NewSignupPage/ko
출시 상태: 안정 |
|
|---|---|
| 구현 | 내 위키 |
| 설명 | Enhances MediaWiki's default signup page |
| 만든 이 | Jack Phoenix |
| 최신 버전 | 1.2.0 (2020-01-06) |
| MediaWiki | 1.43.9+ |
| 데이터베이스 변경 | 예 |
|
|
|
|
| Licence | GNU General Public License 2.0 or later |
| 다운로드 | Changelog |
| 예시 | Any ShoutWiki site, e.g., www.shoutwiki.com |
| NewSignupPage 확장 기능 번역 (translatewiki.net에서 가능한 경우) | |
| 이슈 | 미해결 작업 · 버그 보고 |
The NewSignupPage extension enhances MediaWiki's default signup page, Special:CreateAccount, by requiring users to check a checkbox stating that they've read and understood the site's Terms of Service and Privacy Policy.
In addition to that, the extension is compatible with Social tools.
If a wiki's admins choose to give out points for recruiting new users, set $wgRegisterTrack to true (and make sure that user_register_track table exists on that wiki's database beforehand!) and you're done.
Currently, the extension is configured to link to ShoutWiki's privacy policy and terms of use.
To personalize it for your wiki, you need to set $wgNewSignupPageToSURL and $wgNewSignupPagePPURL (for example $wgNewSignupPageToSURL = "URL to ToS";).
설치
- 파일을 다운로드하고
NewSignupPage폴더를extensions/디렉토리에 넣어 주세요.
개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NewSignupPage
- 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
wfLoadExtension( 'NewSignupPage' );
- If you set
$wgRegisterTrack = true;, you need to create theuser_register_tracktable in your database; you can do this from command line withphp maintenance/run.php sql extensions/NewSignupPage/sql/user_register_track.sql
완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
User rights
This extension adds a new user right, bypasstoscheck, which by default isn't given to any group. Users with this right can create new accounts without checking the "I accept the site's Terms of Service" checkbox.
User points
$wgUserStatsPointValues['referral_complete']— Set this to something to give out points for referring a new user successfully to the site.
Customizing checkbox message
This extension adds a new checkbox in Special:CreateAccount (right below the Remember my login on this computer checkbox).
You can edit the text for this checkbox by editing the system message in MediaWiki:Newsignuppage-loginform-tos.
Parameters
| Name | Description | Default |
|---|---|---|
$wgAutoAddFriendOnInvite |
If the new user was referred to the site by an existing user, should we make them friends automatically? | false
|
$wgRegisterTrack |
Whether to track registrations into the user_register_track DB table. |
false
|
$wgNewSignupPageToSURL |
Canonical URL to the site's terms of use page. Needs to be updated. | http://www.shoutwiki.com/wiki/Terms_of_use
|
$wgNewSignupPagePPURL |
Canonical URL to the site's privacy policy page. Needs to be updated. | http://www.shoutwiki.com/wiki/Privacy_policy
|
See also
- ConfirmAccount - Adds an ToS link & checkbox to registration
| This extension is included in the following wiki farms/hosts and/or packages: |
- Stable extensions/ko
- Personalization extensions/ko
- BeforePageDisplay extensions/ko
- LoadExtensionSchemaUpdates extensions/ko
- GPL licensed extensions/ko
- Extensions in Wikimedia version control/ko
- All extensions/ko
- Extensions included in Miraheze/ko
- Extensions included in ShoutWiki/ko
- Social tools/ko
- Extensions by ShoutWiki/ko
