Extension:LegalLogin

The LegalLogin extension require acceptance of legal policies and correct answer on test questions during account creation and login.

Configuration parameters

 * $wgLegalLoginPolicies: The list of legal policies that will require acceptance during account creation and login. Only pages in NS_MEDIAWIKI namespaces allowed as correct values.
 * $wgLegalLoginQuestions: The questions that users will need to answer correctly before login. Only pages in NS_MEDIAWIKI namespaces allowed as correct values.
 * $wgLegalLoginExpiration: Require acceptance of legal policies again after defined seconds.
 * $wgLegalLoginInterval: Require acceptance of legal policies again after defined number of logins.
 * $wgLegalLoginLogActions: Save LegalLogin actions like acceptance of the policies to Special:Log.

Example:

User rights

 * legallogin-view-log: Allow to view LegalLogin actions like acceptance of the policies in Special:Log