Extension:LegalLogin/bn

This page is a translated version of the page Extension:LegalLogin and the translation is 8% complete.
Other languages:
মিডিয়াউইকি এক্সটেনশন ম্যানুয়াল
OOjs UI icon advanced-invert.svg
LegalLogin
মুক্তির অবস্থা: স্থিতিশীল
Screenshot of the LegalLogin extension UI.png
বাস্তবায়ন ব্যবহারকারীর কার্যকলাপ
বিবরণ The LegalLogin extension require acceptance of legal policies and correct answer on test questions during account creation and login.
লেখক(গণ) Pavel Astakhov (Pastakhovআলোচনা)
রক্ষণাবেক্ষণকারী(গণ) WikiTeq team
সর্বশেষ সংস্করণ 1.0
সমর্থন নীতি Follows the MediaWiki version lifecycle. Master is not backward compatible.
MediaWiki 1.35+
PHP 7.4.3+
ডাটাবেজ পরিবর্তন হ্যাঁ
সারণি legallogin_accepted
legallogin_logged
লাইসেন্স গ্নু জেনারেল পাবলিক লাইসেন্স ২.০ অথবা পরবর্তী
ডাউনলোড
README
$wgLegalLoginPolicies, $wgLegalLoginQuestions, $wgLegalLoginExpiration, $wgLegalLoginInterval, $wgLegalLoginLogActions
legallogin-view-log
Translate the LegalLogin extension if it is available at translatewiki.net

Check usage and version matrix.

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

This extension was created for WikiWorks.

Installation

  • Download and place the file(s) in a directory called LegalLogin in your extensions/ folder.
  • আপনার LocalSettings.php-এর নীচের অংশে নিম্নলিখিত কোড যোগ করুন:
    wfLoadExtension( 'LegalLogin' );
    
  • Yes করা হয়েছে – এক্সটেনশনটি সফলভাবে ইনস্টল করা হয়েছে কিনা তা যাচাই করতে আপনার উইকির Special:Version-এ যান।

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:

$wgLegalLoginPolicies = [
   'Terms and Conditions of Use' => [ // text from MediaWiki:Terms and Conditions of Use, title is the same
      'require scrolling' => true, // user must scroll it to down or open in popup windows before accept
   ],
   'Privacy policy' => [ // text from MediaWiki:Privacy policy
      'captionmsg' => 'privacy-policy-caption', // MediaWiki:Privacy-policy-caption // caption of the policy
   ],
];


$wgLegalLoginQuestions = [
   'I hate this site' => [
      'answer' => false,
      'help' => 'This is a hint',
   ],
   'I love this site' => [
      'answer' => true,
   ]
];

ব্যবহারকারীর অধিকার

legallogin-view-log
Allow to view LegalLogin actions like acceptance of the policies in "Special:Log"
  This extension is professionally maintained by the WikiTeq team.