Add semantic tags to values rendered into messages

Authored by Lucas_Werkmeister_WMDE on Jun 8 2017, 9:17 AM.

Description

Add semantic tags to values rendered into messages

Five roles are defined: the subject, predicate and object of a statement
or triple, the propert that introduced a constraint, and the predicate
of a qualifier. All ConstraintParameterRenderer methods gain an optional
$role parameter to attach one of these roles to the rendered value, and
all checkers use this parameter to define the role for the value they
render.

CSS style sheets can then add special styles for each of these roles, to
hopefully make the messages easier to understand visually.

Bug: T167127
Change-Id: I32050ff5657f01716cbecd1457aee081b181f187

Details