Stop AI crawlers: Difference between revisions

add other API queries
 
(2 intermediate revisions by the same user not shown)
Line 69: Line 69:
</syntaxhighlight>
</syntaxhighlight>


Items marked with ✅ are suggested to be '''allowed for anonymous users''' rather than blocked.
== Allow List of SpecialPages ==
Items marked with ✅ are suggested to be '''allowed for anonymous users''' rather than blocked. Since 2011 "Special:PasswordReset", "Special:UserLogin" and "Special:ChangePassword" are always allow-listed in core. Note: due to aliases, some entries may appear to be duplicate.  See also: [[mediawikiwiki:Manual:$wgWhitelistRead|Manual:$wgWhitelistRead]] and [[mediawikiwiki:Extension:Whitelist_Pages|Extension:Whitelist Pages]]


# AbuseFilter
# AbuseFilter
Line 109: Line 110:
# ChangeCredentials
# ChangeCredentials
# ChangeEmail
# ChangeEmail
# ChangePassword
# ChangePassword
# CheckUser
# CheckUser
# CheckUserLog
# CheckUserLog
Line 362: Line 363:
# WithoutInterwiki
# WithoutInterwiki


Assuming '''CrawlerProtection''' is updated with [https://github.com/mywikis/CrawlerProtection/pull/12 my PR], you can just configure that extension with the list above.
You can configure the '''[[mw:Extension:CrawlerProtection|CrawlerProtection]]''' extension to block anonymous read of SpecialPages as you see fit.
{{Collapsible
{{Collapsible
|visible_text=You can achieve this restriction using the Lockdown extension with this configuration:
|visible_text=You can achieve this restriction using the Lockdown extension with this configuration: