Extension:AcceptTermsOfUse
![]() Release status: betaCategory:Beta status extensions |
|
---|---|
Description | Allows accepting Terms of Use on the registration page |
Author(s) | Gawriontalk |
Maintainer(s) | Gawrion |
Latest version | 0.0.1 (2023-12-09) |
MediaWiki | 1.40+Category:Extensions with manual MediaWiki version |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
Example | rpedia.pl |
|
The AcceptTermsOfUse extension adds an "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
- 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
$wgAcceptTermsOfUsePage = '[[Project:TermsPage|Terms Name]]';
Usage
- Go to "Special:CreateAccount" and verify that the new checkbox for Terms of Use acceptance shows up.
See also
- ConfirmAccount - Allows enforcing Terms of Use during a manual account creation workflow.
Category:All extensions
Category:Beta status extensions
Category:Extensions in GitHub version control
Category:Extensions not in ExtensionJson
Category:Extensions with invalid or missing type
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions