Help:Lint errors/bogus-image-options/fr

L'erreur d'options de fichier factices est déclenchée lorsqu'une option inexistante est détectée sur une image. Par exemple, dans le code, " " et" " sont des options erronées, et " " apparaît en tant que légende de l'image.

has details on the supported image options, including a few notes about the quirky behavior of some of the parameters.

Known bugs in the Linter bogus file options detection include, but are not limited to:


 * Parent task: - Make File syntax processing match the specification and documentation
 * - Linter fails to detect a quotation mark after the "upright" number.
 * - Conflicting border/thumb/frame options are not detected as Linter errors
 * - Capitalized versions of valid File options are usually ignored, but are not flagged as Linter bogus file options
 * - LintError bogus-image-options triggers on "Thumbtime"
 * - Image caption ending in "px" is incorrectly detected as a Linter error (To work around a false positive error when "px" is at the end of a caption, add sp after "px". It will add a space, which does not change the displayed caption but which makes the error go away.)

In addition some other supported file options such as video and multi-page formats (e.g. pdf) are also checked.

Common errors include:

&rarr; &rarr; &rarr; &rarr; &rarr; &rarr; To fix, remove  or. Set pixel dimensions using instructions at.
 * Repeated options, e.g.
 * Conflicting alignment options, e.g.
 * Conflicting border/frame/thumb options (not reported as a Linter error; see phab link above), e.g.  &rarr;   (always remove the "border" option)
 * A manual line break in alt or in the caption. (Remove the line break to fix the error.)
 * Blank options, e.g.
 * Two captions, e.g.
 * A plain number instead of a px value, e.g.
 * Typos in options, e.g.
 * Use of,   or   (any unlabeled pixel size) within  tags.

Outils
The following tools can help fix bogus image options:

Bogus image options may be reported by WPCleaner as part of CheckWiki error #534.
 * WPCleaner: see instructions on how to use WPCleaner for fixing errors detected by Linter.