Extension:TorBlock/pl

Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
TorBlock
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Dostęp użytkownika Category:User access extensions/pl
Opis Automatically applies restrictions to Tor exit nodes with access to the wiki's front-door server.
Autor(zy) Andrew Garrett (Werdnadyskusja)
Ostatnia wersja 1.1.0 (Continuous updates)
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
PHP 5.5+
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgTorBlockProxy
  • $wgTorIPs
  • $wgTorProjectCA
  • $wgTorOnionooServer
  • $wgTorTagChanges
  • $wgTorAutoConfirmCount
  • $wgTorDisableAdminBlocks
  • $wgTorBypassPermissions
  • $wgTorAllowedActions
  • $wgTorOnionooCA
  • $wgTorAutoConfirmAge
  • torunblocked
Quarterly downloads 6 (Ranked 95th)
Public wikis using 1,149 (Ranked 224th)
Przetłumacz rozszerzenie TorBlock jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

The TorBlock extension automatically applies restrictions to Tor exit node's access to the wiki's front-door server.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie TorBlock w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TorBlock
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'TorBlock' );
    
  • Configure as required.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

$wgTorBypassPermissions = [ 'torunblocked' ]; User account permissions that bypass Tor blocks.

By default, $wgGroupPermissions['user']['torunblocked'] = true; is set, so logged-in users will bypass permissions unless it is set to false.

$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;

$wgTorAutoConfirmCount = 0;

Like Podręcznik:$wgAutoConfirmAge and $wgAutoConfirmCount. Both sets of limits must be passed for an account to be granted any statuses defined in Podręcznik:$wgAutopromote (including autoconfirmed status).
$wgTorAllowedActions = [ 'read' ]; Permissions allowed to Tor anonymous users. By default, Tor users cannot create accounts.
$wgTorOnionooServer = 'https://onionoo.torproject.org';

$wgTorOnionooCA = "$dir/torproject.crt";
$wgTorProjectCA = "$dir/torproject.crt";

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.
Category:Extensions used on Wikimedia/pl#TorBlock/pl
Category:AbortAutoblock extensions/pl Category:AbuseFilter-builder extensions/pl Category:AbuseFilterAlterVariables extensions/pl Category:All extensions/pl Category:AutopromoteCondition extensions/pl Category:ChangeTagsListActive extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in Miraheze/pl Category:Extensions included in WikiForge/pl Category:Extensions used on Wikimedia/pl Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/pl Category:GetAutoPromoteGroups extensions/pl Category:GetUserBlock extensions/pl Category:GetUserPermissionsErrorsExpensive extensions/pl Category:ListDefinedTags extensions/pl Category:OtherBlockLogLink extensions/pl Category:RecentChange save extensions/pl Category:Stable extensions/pl Category:UserCanSendEmail extensions/pl Category:User access extensions/pl