Page MenuHomePhabricator

Capitalized versions of valid File options are usually ignored, but are not flagged as Linter bogus file options.
Open, Needs TriagePublic

Description

Capitalized versions of valid File options are usually ignored, but are not flagged as Linter bogus file options.

Here are some test cases that show the problem on en.WP:

[[Image:Milgrom Mordechai.jpg|Thumb|upright|link=foo| MOND was proposed by Mordehai Milgrom in 1983]]

[[Image:Milgrom Mordechai.jpg|Frame|upright|link=foo| MOND was proposed by Mordehai Milgrom in 1983]]

[[Image:Milgrom Mordechai.jpg|Border|thumb|upright|link=foo| MOND was proposed by Mordehai Milgrom in 1983]]

[[Image:Milgrom Mordechai.jpg|border|thumb|upright|link=foo| MOND was proposed by Mordehai Milgrom in 1983]]

[[Image:Milgrom Mordechai.jpg|Frameless|upright|link=foo| MOND was proposed by Mordehai Milgrom in 1983]]

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 19 2019, 10:03 PM

This one is actually flagged as an error on en.WP:

[[Image:(1919) pic37 - Siameses in France.jpg|thumb|ALT=Old newspaper clipping of Asian soldiers|Siamese in France]]

The inconsistency is baffling. Maybe options with equals signs are correctly flagged as errors, while options without are ignored but not flagged?