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

The bogus-image-options error is when an image is detected to use a non-existent option. For example in the code, " " and " " are bogus options, and " " shows up as the caption.

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:


 * - Linter does not detect invalid "500px500px" or "left500px" as a bogus file option
 * - Linter fails to detect multiple "upright" parameters as a bogus file option (in some cases)
 * - 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"

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

よくあるエラーの一部を示します:


 * オプションの繰り返し、例:  &rarr;
 * オプションの競合、例:  &rarr;
 * Conflicting border/frame/thumb options (not reported as a Linter error; see phab link above), e.g.  &rarr;   (always remove the "border" option)
 * 空欄のオプション、例:  &rarr;
 * 2 個のキャプション、例:  &rarr;
 * A plain number instead of a px value, e.g.  &rarr;
 * オプションの誤字脱字、例:  &rarr;
 * Use of  or   within  tags. To fix, remove   or.

ツール
The following tools can help fix bogus image options:


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