Extension:AcceptTermsOfUse

Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
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 Category:Extensions in GitHub version control
Example rpedia.pl
  • $wgAcceptTermsOfUsePage
Category:All extensionsCategory:Extensions not in ExtensionJson

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 your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AcceptTermsOfUse' );
    
  • Yes 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