Extension:AcceptTermsOfUse
Appearance
AcceptTermsOfUse Release status: beta |
|
---|---|
Description | Allows accepting Terms of Use on registration page |
Author(s) | Gawriontalk |
Maintainer(s) | Gawrion |
Latest version | 0.0.1 (09.12.2023) |
MediaWiki | 1.40.1+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | https://rpedia.pl/w/Extension:AcceptTermsOfUse
GitHub: Note: |
$wgAcceptTermsOfUsePage |
|
The AcceptTermsOfUse adds the "Accept Terms of Use" checkbox to the registration page. It has simple validation. When not checked, it gives you feedback that you have to accept the terms to register.
Installation
[edit]- Download and place the file(s) in a directory called
AcceptTermsOfUse
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'AcceptTermsOfUse' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
[edit]$wgAcceptTermsOfUsePage = '[[Project:TermsPage|Terms Name]]' ;
Usage
[edit]- Go to "Special:CreateAccount" and verify new checkbox for Terms of Use acceptance show up.
See also
[edit]- ConfirmAccount - Allows for enforcing Terms of Use during a manual account creation workflow.