Extension:TorBlock
Appearance
Stav rozšíření: stabilní |
|
|---|---|
| Implementace | Uživatelský přístup |
| Popis | Automaticky aplikuje omezení na výstupní uzly Tor s přístupem k přednímu serveru wiki. |
| Autoři | Andrew Garrett (Werdnadiskuse) |
| Nejnovější verze | 1.1.0 (Continuous updates) |
| MediaWiki | 1.35+ |
| PHP | 5.5+ |
| Licence | GNU General Public License 2.0 nebo novější |
| Stáhnout | |
|
|
|
|
| Přeložte rozšíření TorBlock, používá-li lokalizaci z translatewiki.net | |
| Problémy | Otevřené úkoly · Nahlásit chybu |
The TorBlock extension automatically applies restrictions to Tor exit node's access to the wiki's front-door server.
Installation
- Stáhněte soubor/y a vložte je do adresáře pojmenovaného
TorBlockve vaší složceextensions/.
Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TorBlock
- Na konec vašeho souboru LocalSettings.php přidejte následující kód:
wfLoadExtension( 'TorBlock' );
- Configure as required.
Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.
Configuration
$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 Příručka:$wgAutoConfirmAge and $wgAutoConfirmCount. Both sets of limits must be passed for an account to be granted any statuses defined in Příručka:$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.
| Toto rozšíření se používá na jednom nebo více projektech Wikimedia. Pravděpodobně to znamená, že rozšíření je stabilní a funguje dostatečně dobře, aby jej mohly používat weby s tak vysokou návštěvností. Vyhledejte tento název rozšíření v konfiguračních souborech CommonSettings.php a InitialiseSettings.php Wikimedie, abyste viděli, kde je nainstalováno. Úplný seznam rozšíření nainstalovaných na konkrétní wiki lze vidět na stránce wiki Special:Version. |
| Toto rozšíření je zahrnuto v následujících wiki farmách/hostitelích a/nebo balíčcích: |
Categories:
- Stable extensions/cs
- User access extensions/cs
- GPL licensed extensions/cs
- Extensions in Wikimedia version control/cs
- AbortAutoblock extensions/cs
- AbuseFilter-builder extensions/cs
- AbuseFilterAlterVariables extensions/cs
- ChangeTagsListActive extensions/cs
- GetAutoPromoteGroups extensions/cs
- GetUserBlock extensions/cs
- ListDefinedTags extensions/cs
- OtherBlockLogLink extensions/cs
- RecentChange save extensions/cs
- UserCanSendEmail extensions/cs
- UserRequirementsCondition extensions/cs
- GetUserPermissionsErrorsExpensive extensions/cs
- All extensions/cs
- Extensions used on Wikimedia/cs
- Extensions included in Fandom/cs
- Extensions included in Miraheze/cs
