Podręcznik:Blokowanie i odblokowywanie

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Block and unblock and the translation is 15% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語 • ‎한국어

Administratorzy mogą blokować i odblokowywać adresom IP oraz zarejestrowanym kontom użytkowników możliwość edycji, przesyłania plików, przenoszenie stron oraz, jeżeli mieli nadane takie uprawnienia, zabezpieczanie/odbezpieczanie oraz usuwanie/odtwarzanie stron. Należy pamiętać o tym, że blokady mają bardziej charakter prewencyjny niż karny.

Blokowanie

Blokadę można nałożyć poprzez formularz na stronie specjalnej Special:Block. Należy przejść poniższe kroki aby nałożyć blokadę:

  1. Określ adres IP lub użytkownika do zablokowania. Wprowadź adres IP do zablokowania lub nazwę zarejestrowanego konta użytkownika, którego chcesz zablokować, w polu formularza "Adres IP lub nazwa użytkownika:". Zwróć uwagę, że można również blokować nieistniejące nazwy użytkowników, więc upewnij się, że wpisałeś poprawną nazwę użytkownika. Możesz także zablokować zakres adresów IP; zobacz Help:Blokowanie zakresów IPHelp:Range blocks po instrukcje.
  2. Określ czas trwania blokady. You can select a predefined duration from the drop down box labelled "Czas trwania:", or you can enter a custom value, using the GNU standard format, in the "Other time" field. If the duration given is "indefinite", then the block will not expire, although the IP address or user account may still be unblocked by a sysop.
  3. Specify a reason for the block (optional). This reason will be displayed to the blocked user if they attempt to edit a page.

Click "Zablokuj użytkownika" to apply the block. All blocks are recorded in the block log, and all currently active blocks are listed at the list of active blocks.

Note that in addition to manually entering the IP address or user account to be blocked into Special:Block, you may also follow the "Zablokuj użytkownika" link from the toolbox in the sidebar when viewing the "User" or "User talk" page of the IP address or user account. You can also click on the "zablokuj" link next following an IP address or user account name in the recent changes list or the page history.

Blocking options

Wersja MediaWiki: 1.8

Several extra blocking options were added in version 1.8 of MediaWiki, which are enabled by checking a check box on the blocking form.

Block anonymous users only (also called softblocking)
This option changes the effect of a block when blocking an IP address. When it is enabled, the block will only affect anonymous users editing from that IP address; registered users editing from that IP address will not be affected. The option has no effect on a block of a registered user, but does on an autoblock caused by it.
Block account creation
This option changes the effect of a block when blocking a user or an IP address. When it is enabled, the registration of new user accounts from that IP address will be disabled while the block is in effect.
Automatically block the last IP address used by this user, and any subsequent addresses they try to edit from (also called hardblocking)
This option changes the effect of a block when blocking a registered user account. When it is enabled, the IP address most recently used by the account, and any IP addresses that the account subsequently attempts to edit from will be automatically blocked.


Unblocking

An IP address or registered user account can be unblocked via the list of active blocks. Find the IP address or registered user account you wish to unblock in the list (you can enter the address or name in the "Znajdź zablokowanego użytkownika" field to help you find the entry), and click the "odblokuj" link displayed to the right of the block's expiry time.

This will lead you to a confirmation page. Enter the reason for unblocking (optional) in the "Powód:" field, and click "Odblokuj" to remove the block. All unblockings are recorded in the block log.

Note that if a range is blocked, then the unblock must cover the whole range to be effective. Attempting to unblock an individual IP address in the range will not be effective.

Effects of being blocked

Blocked users may still read pages, but they may not create, edit or move pages, or upload files. Users with certain other user rights will not be able to use those rights when they are blocked. For example, users with the rights to delete and undelete or protect and unprotect pages will not be able to do so when they are blocked. However, users with the rights to block and unblock users will still be able to do so when they are blocked, including any blocks on their own account, given that they have the unblock-self right.

Users who are blocked and attempt to edit a page (or move a page, or upload a file) will see the "Your account or IP address has been blocked" message informing them that they have been blocked.

If the autoblock option has been enabled with respect to a block, and the blocked user attempts to edit (or move a page, or upload a file), the IP address being used by that user will also be blocked.

Configuration settings related to blocking

The configuration options below can be set in LocalSettings.phpManual:LocalSettings.php and can be used to enable or disable certain aspects of the blocking interface.

MediaWiki: pages

URL parameters

Wersja MediaWiki: 1.18

Special:Block accepts some URL parameters to prepopulate the HTML form:

  • wpTarget - username/IP address
  • wpExpiry - expiry time
  • wpAutoBlock - autoblock setting (=1 or =0)
  • wpHardBlock - hard block setting (=1 or =0)
  • wpCreateAccount - prevent account creation (=1 or =0)
  • wpReason - reason, from selection of MediaWiki:Ipbreason-dropdown
  • wpReason-other - prepopulating "other reason" text field

Example use: w:Template:Emergency-bot-shutoff. Zobacz też: bug 31851

Hooks

Zobacz też