Extension:TorBlock

Automatically applies restrictions to Tor exit nodes with access to the wiki's front-door server.

Parameters
User account permissions that bypass Tor blocks.
 * $wgTorBypassPermissions = array( 'torunblocked' );

By default,  is set, so logged-in users will bypass permissions unless it is set to false.

If set to true, the extension will always try to load a list of nodes if there is no current list available in the cache. Loading the exit node list is expensive, so some wikis may want to set this to false, and instead have loadExitNodes.php be run as a cron job to update the node list.
 * $wgTorLoadNodes = true;

An array of IP addresses that the wiki server uses. Only exit nodes allowed to connect to these IPs will be returned in the internal list. Note: this is only used when the extension has to fall back to the Tor Project's bulk list service, rather than using the newer Onionoo protocol.
 * $wgTorIPs = array( '208.80.152.2' );

Disables existing Tor blocks made by admins.
 * $wgTorDisableAdminBlocks = true;

Like $wgAutoConfirmAge and $wgAutoConfirmCount. Both sets of limits must be passed for an account to be granted autoconfirmed status.
 * $wgTorAutoConfirmAge = 0;
 * $wgTorAutoConfirmCount = 0;

Permissions allowed to Tor anonymous users. By default, Tor users cannot create accounts.
 * $wgTorAllowedActions = array( 'read' );

By default, the extension uses a service called Onionoo, created by the Tor Project, to retrieve the list of exit nodes. Onionoo servers can be run by anybody, so a custom one (and its associated SSL certificate) can be set with these variables. The default is the Tor Project's own server.
 * $wgTorOnionooServer = 'https://onionoo.torproject.org ' ;
 * $wgTorOnionooCA = "$dir/torproject.crt";
 * $wgTorProjectCA = "$dir/torproject.crt";

Mark Tor edits as such
 * $wgTorTagChanges = true;

Proxy to use, if not the default proxy
 * $wgTorBlockProxy = false;