https://bugzilla.wikimedia.org/show_bug.cgi?id=48900

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]      |[email protected]

--- Comment #9 from Gabriel Wicke <[email protected]> ---
We recently discussed this again. A possible solution might be to mark
arbitrary elements as error-affected using an additional mw:Error typeof (or
CSS class), plus error information in data-mw.error. This error information can
be an object like this:

{
  key: "missing-image",
  msg: "This image did not exist"
}

The key can be used to retrieve localized messages. The msg just provides a
non-localized fall-back. We could leave that out too if we are concerned about
space.

For images, we'd use the standard DOM structure as if the image existed, but
point out the error with the typeof and data-mw so that the VE can help the
user to fix the issue. Similarly, bots can look for errors and potentially fix
them automatically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to