Extension:NewSignupPage/ja

Category:GPL licensed extensions/ja
MediaWiki 拡張機能マニュアル
NewSignupPage
リリースの状態: 安定Category:Stable extensions/ja
実装 自分のウィキ Category:Personalization extensions/ja
説明 Enhances MediaWiki's default signup page
作者 Jack Phoenix
最新バージョン 1.2.0 (2020-01-06)
MediaWiki 1.43.3+Category:Extensions with manual MediaWiki version/ja
データベースの変更 はい
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード Category:Extensions in Wikimedia version control/ja
更新履歴
Any ShoutWiki site, e.g., www.shoutwiki.com
  • $wgRegisterTrack
  • $wgNewSignupPagePPURL
  • $wgNewSignupPageToSURL
  • $wgAutoAddFriendOnInvite
  • bypasstoscheck
translatewiki.net で翻訳を利用できる場合は、NewSignupPage 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告
Category:All extensions/ja

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";).

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のNewSignupPageという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用して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 the user_register_track table in your database; you can do this from command line with php maintenance/run.php sql extensions/NewSignupPage/sql/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.

チェックボックスメッセージのカスタマイズ

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.

パラメーター

NameDescriptionDefault
$wgAutoAddFriendOnInviteIf the new user was referred to the site by an existing user, should we make them friends automatically?false
$wgRegisterTrackWhether to track registrations into the user_register_track DB table.false
$wgNewSignupPageToSURLCanonical URL to the site's terms of use page. Needs to be updated.http://www.shoutwiki.com/wiki/Terms_of_use
$wgNewSignupPagePPURLCanonical URL to the site's privacy policy page. Needs to be updated.http://www.shoutwiki.com/wiki/Privacy_policy

関連項目

Category:Social tools/ja Category:Extensions by ShoutWiki/ja
Category:All extensions/ja Category:BeforePageDisplay extensions/ja Category:Extensions by ShoutWiki/ja Category:Extensions in Wikimedia version control/ja Category:Extensions included in Miraheze/ja Category:Extensions included in ShoutWiki/ja Category:Extensions included in WikiForge/ja Category:Extensions with manual MediaWiki version/ja Category:GPL licensed extensions/ja Category:LoadExtensionSchemaUpdates extensions/ja Category:Personalization extensions/ja Category:Social tools/ja Category:Stable extensions/ja