As a non-logged-in editor I want to be made aware of constraints violation on a statement I am looking at in order to see potential mistakes more easily.
Problem:
We are only showing constraint violation indicators to people who are logged in. So editors who are not logged in do not see mistakes that they could potentially fix.
Screenshots/mockups:
BDD
GIVEN a statement with a constraint violation
WHEN viewing it without being logged in
THEN the constraint violation indicator is shown
Acceptance criteria:
- constraint violation indicators are shown regardless of log-in status
- we have a config option to turn these on/off
- default for this config is 'on', meaning they are shown to everyone by default
Notes
we add the config check to these three lines https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikibaseQualityConstraints/+/52122e9453ca0af5616c6f8d3fbf4064b7a8baf9/src/WikibaseQualityConstraintsHooks.php#143