Thread:Project:Support desk/Images red link use size instead of filename/reply (2)

I agree with TulipVorlax.

There is two ways of linking to files. For files the default  notation will attempt to embed the file, and the   is for linking to the file description page.

I would expect that the embedding syntax will fallback to something that makes sense for the embedding syntax, not something that makes sense in the description-page-link syntax.

Right now attempting to embed a file (or embedding a file that would be deleted tomorrow) would result in the second pipe-parameter being used as linktext, which doesn't make any sense for the embed-syntax.

Examples: more info about image more info about image
 * Embed syntax, image exists:
 * Link syntax, image exists:
 * Embed syntax, image doesn't exists:
 * Link syntax, image doesn't exists:

As of writing this generates:
 * Thumnail embed
 * Link to page "File:Example.jpg" with link text "more info about image"
 * Link to url "//www.mediawiki.org/w/index.php?title=Special:Upload&wpDestFile=Something_else_random.jpg" with link text "20px"
 * Link to url "//www.mediawiki.org/w/index.php?title=File:Something_else_random.jpg&action=edit&redlink=1" with link text "more info about image"

The third one is wrong