Manual:Block and unblock/fr

Les administrateurs peuvent bloquer et débloquer des directions IP (et comptes d'utilisateur enregistrées si est déclenché le blocage de nom d'utilisateur) pour éditer, charger des archives, déplacer pages, et, si il se leur est accordés la protection de tels droits, desproteger et effacer/restaurer des pages. Il est important rappeler que les blocages sont préventifs, plus que punitivo.

Bloquer
Les blocages s'appliquent dans le formulaire placé en la page spéciale de blocages Special:Block. Il y a divers pas pour l'application d'un blocage:


 * 1) Spécifier la direction IP ou nom d'utilisateur pour être bloqué. Introduire la direction IP ou nom du compte d'utilisateur enregistrée pour que soit bloquée, dans le champ de "" placé dans le formulaire de blocage. Note that nonexistent usernames can also be blocked, so be certain you have the correct username. You can also block a range of IP addresses; see  for instructions.
 * 2) Specify a duration for the block. You can select a predefined duration from the drop down box labelled "", 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 "" to apply the block. Tous les blocages restent enregistrés en le registre de blocages, et tous les blocages qui sont actuellement actifs se listent en la prête de blocages actifs.

Ayez en compte que, outre introduire manualmente la direction IP ou le compte d'utilisateur en Special:Block, aussi peut suivre l'il raccorde de "" depuis la caisse d'outils en la balayez latéral lorsqu'il voie la page "Utilisateur" ou "Utilisateur Discussion" de la direction IP ou du compte d'utilisateur. Tu peux faire aussi clic en l'il raccorde de "" en suivant à une direction IP ou nom de compte d'utilisateur en la prête de changements récents ou le historial de la page.

Blocage de bots
Diverse options de blocage additionnels s'ont agrégés dans la version 1.8 de MediaWiki, que sont habilitées en marquant un casier de vérification dans le formulaire de blocage.


 * Bloquer seulement des utilisateurs anonymes (aussi appelé softblocking): Cette option change l'effet d'un blocage au bloquer une direction IP. Lorsqu'il est habilité, le blocage seulement affectera aux utilisateurs anonymes qu'éditent depuis cette direction IP; les utilisateurs enregistrés qui éditent depuis cette direction IP ne se verront pas affectés. The option has no effect on a block of a registered user, but does on an autoblock caused by it.


 * Création massive de compte: Cette option change l'effet d'un blocage lorsque se bloque un utilisateur ou une direction IP. Lorsqu'il est habilité, le registre de nouveaux comptes d'utilisateur de cette direction IP se deshabilitará tant que le blocage soyez en vigueur.


 * 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 "" field to help you find the entry), and click the "" 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 "" field, and click "" 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.

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 and can be used to enable or disable certain aspects of the blocking interface.


 * - controls the ability for sysops to block usernames. This is true by default. If a sysop tries to block a registered user account and this setting is not enabled, then an error message will be displayed, informing the sysop that the "IP Address does not exist".
 * - controls the ability for sysops to block ranges of IP address. This is true by default.
 * - controls how many seconds need to pass until a block on an "autoblocked" IP address will expire. The default is 86400 seconds (one day)
 * - controls whether or not a blocked user is able to edit their own user talk page. This is false by default. The ability to disable the ability of a blocked user to edit their own user talk page, when this variable is true, is an option available in Special:Block.
 * and the blockemail user right control the ability for sysops to prevent users from using the Special:EmailUser interface.  is true by default.
 * - controls if blocked users will be allowed to login. This is false by default.
 * - (1.29+) determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked. This is false by default.
 * The hideuser user right controls the ability for sysops to prevent a blocked user from appearing in the block log, the active block list, and the user list.

MediaWiki: pages

 * MediaWiki:ipboptions - contains a list of suggested block durations
 * MediaWiki:ipb-default-expiry - allows customization of the default duration in the blocking form (if left unchanged, the default duration is "other")
 * More blocking-related interface messages

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


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

''Example use: w:Template:Emergency-bot-shutoff. See also: ''

Hooks

 * Manual:Hooks/BlockIp, occurs whenever the software receives a request to block an IP address or user
 * Manual:Hooks/BlockIpComplete, occurs after the request to block an IP or user has been processed
 * Manual:Hooks/GetBlockedStatus, fired after the user's getBlockStatus is set