Erweiterung:TorBlock
![]() Release status: stable |
|
---|---|
Implementation | User access |
Description | Automatically applies restrictions to Tor exit nodes with access to the wiki's front-door server. |
Author(s) | Andrew Garrett (WerdnaDiskussion) |
Latest version | 1.1.0 (Continuous updates) |
MediaWiki | 1.35+ |
PHP | 5.5+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 56 (Ranked 111st) |
Public wikis using | 1,149 (Ranked 224th) |
Translate the TorBlock extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The TorBlock extension automatically applies restrictions to Tor exit node's access to the wiki's front-door server.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
TorBlock
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen: Konfigurieren Sie nach Bedarf.
wfLoadExtension( 'TorBlock' );
Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Konfiguration
$wgTorBypassPermissions = [ 'torunblocked' ];
|
User account permissions that bypass Tor blocks.
By default, |
$wgTorLoadNodes = true;
|
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.
|
$wgTorIPs = [ '208.80.152.2' ];
|
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. |
$wgTorDisableAdminBlocks = true;
|
Disables existing Tor blocks made by admins. |
$wgTorAutoConfirmAge = 0;
|
Like Manual:$wgAutoConfirmAge and $wgAutoConfirmCount . Both sets of limits must be passed for an account to be granted any statuses defined in Manual:$wgAutopromote (including autoconfirmed status). |
$wgTorAllowedActions = [ 'read' ];
|
Permissions allowed to Tor anonymous users. By default, Tor users cannot create accounts. |
$wgTorOnionooServer = 'https://onionoo.torproject.org';
|
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. |
$wgTorTagChanges = true;
|
Mark Tor edits as such |
$wgTorBlockProxy = false;
|
Proxy to use, if not the default proxy |
See also
- BulkBlock Extension — an extension that allows administrators to easily block multiple users at once on a MediaWiki website.
![]() | This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Categories:
- Stable extensions/de-formal
- User access extensions/de-formal
- GPL licensed extensions/de-formal
- Extensions in Wikimedia version control/de-formal
- AbortAutoblock extensions/de-formal
- AbuseFilter-builder extensions/de-formal
- AbuseFilterAlterVariables extensions/de-formal
- AutopromoteCondition extensions/de-formal
- ChangeTagsListActive extensions/de-formal
- GetAutoPromoteGroups extensions/de-formal
- GetUserBlock extensions/de-formal
- ListDefinedTags extensions/de-formal
- OtherBlockLogLink extensions/de-formal
- RecentChange save extensions/de-formal
- UserCanSendEmail extensions/de-formal
- GetUserPermissionsErrorsExpensive extensions/de-formal
- All extensions/de-formal
- Extensions used on Wikimedia/de-formal
- Extensions included in Miraheze/de-formal
- Extensions included in WikiForge/de-formal
- Extensions included in WikiTide/de-formal