Phabricator のプロジェクト名 #NewSignupPage

Extension:NewSignupPage

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:NewSignupPage and the translation is 40% complete.

Other languages:
English • ‎русский • ‎中文 • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
NewSignupPage
リリースの状態: 安定
実装 MyWiki
説明 Enhances MediaWiki's default signup page
作者 Jack Phoenix
最新バージョン 1.1.0 (2017-09-30)
MediaWiki 1.33+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
更新履歴
Any ShoutWiki site
  • $wgRegisterTrack
  • $wgAutoAddFriendOnInvite
  • $wgForceNewSignupPageInitialization
bypasstoscheck
translatewiki.net で翻訳を利用できる場合は、NewSignupPage 拡張機能の翻訳にご協力ください
使用状況とバージョン マトリクスを確認してください。
問題点 未解決のタスク · バグを報告

The NewSignupPage extension enhances MediaWiki's default signup page, Special:UserLogin/signup, 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 edit MediaWiki:shoutwiki-loginform-tos and MediaWiki:shoutwiki-must-accept-tos.

インストール

  • ダウンロードして、ファイルを extensions/ フォルダー内の NewSignupPage という名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'NewSignupPage' );
    
  • If you set $wgRegisterTrack = true;, you need to create the user_register_track table in your database; you can do this from command line with php maintenance/sql.php extensions/NewSignupPage/user_register_track.sql
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

利用者権限

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:UserLogin/signup (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:Shoutwiki-loginform-tos.

パラメーター

  • $wgAutoAddFriendOnInvite — if the new user was referred to the site by an existing user, should we make them friends automatically? Defaults to false.
  • $wgRegisterTrack — whether to track registrations into the user_register_track DB table. Defaults to false.
  • $wgForceNewSignupPageInitialization — initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.

関連項目