Extension:NewSignupPage/pl

This page is a translated version of the page Extension:NewSignupPage and the translation is 4% complete.
Podręcznik rozszerzeń MediaWiki
NewSignupPage
Status wydania: stabilne
Realizacja MyWiki
Opis Enhances MediaWiki's default signup page
Autor(zy) Jack Phoenix
Ostatnia wersja 1.2.0 (2020-01-06)
MediaWiki 1.39.10+
Zmiany w bazie danych Tak
Licencja Licencja GNU General Public License 2.0 lub późniejsza
Pobieranie
Changelog
Przykład Any ShoutWiki site
  • $wgRegisterTrack
  • $wgNewSignupPagePPURL
  • $wgNewSignupPageToSURL
  • $wgAutoAddFriendOnInvite
  • bypasstoscheck
Quarterly downloads 10 (Ranked 122nd)
Public wikis using 1,185 (Ranked 232nd)
Przetłumacz rozszerzenie NewSignupPage jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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


  • Pobierz i umieść plik(i) w katalogu o nazwie NewSignupPage w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NewSignupPage
  • Dodaj poniższy kod na dole twojego pliku 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 Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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
$wgForceNewSignupPageInitialization Initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.

Zobacz też