The ConfirmRead extension for MediaWiki requires anonymous visitors of your wiki to solve a Captcha, or similar, before they can move on to access your website.
ConfirmRead requires the ConfirmEdit extension to be installed with an appropriate Captcha method. It has not been tested with anything other than hCaptcha and Cloudflare's Turnstile.
wfLoadExtension( 'ConfirmRead' );
- Set
$wgCaptchaTriggersto an empty array if you do not require Captchas for specific abuse-sensitive actions like edits and logins. - Make sure that
Special:ConfirmReadCaptcharemains accessible on your wiki. This is where visitors are sent to solve the captcha. - Any pages that you want to be exempted from a Captcha check can be added to
$wgConfirmReadWhitelisted. If you want both the page and all of its subpages (and subpages below them) to be exempted, add append/*to the pagename, e.g.
// Exempt Main Page, News and all subpages of News
$wgConfirmReadWhitelisted = [ "Main Page", "News/*" ];