Page MenuHomePhabricator

Warn when trying to use a picture which is blocked by BadImages / bad image list
Closed, ResolvedPublic

Description

when a picture is blocked by BadImages, no signs to suggest, that only an empty HTML tags.
Add HTML comment to the output page source code, for example:
<!-- [[File:name.jpg]] is blocked, because it is out in the [[MediaWiki:Bad_image_list]]. -->
and, if possible, add an showed red text tips (only in the preview) for editor.


Version: 1.21.x
Severity: minor

Details

Reference
bz46497

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:14 AM
bzimport set Reference to bz46497.
bzimport added a subscriber: Unknown Object (MLST).

Related: http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064639.html.


And the behavior here is wrong: allowing submission of an edit that contains
a disallowed image without any warning or notice is wrong behavior. As I
recall, the behavior used to be that it would still include an inline link
to the image if the image were listed on the bad image list. Nowadays, it
seems to just ignore the image altogether (not outputting a link or
anything). No information to the user about why the image they specified
isn't displaying. Not even a link to the image. The image just gets silently

swallowed after the edit successfully saves. This is bizarre and wrong.

(In reply to comment #2)

Related to bug 16038

I don't see the difference between these two tickets and would have marked them as dups. Wouldn't one exclude the other anyway?

  • This bug has been marked as a duplicate of bug 16038 ***