On wikidata, jquery.ui.core styles are overriding the wikibase styles for the references-heading toggle.
this means it's styled blue with an outline, whereas we normally override and remove these styles.
in the html header, I see:
<link rel="stylesheet" href="bits.wikimedia.org/www.wikidata.org/load.php?debug=false&lang=en&modules=ext.echo.badge%7Cext.uls.nojs%7Cext.wikihiero%7Cjquery.wikibase.statementview%2Ctoolbar%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cmediawiki.ui.button%7Cskins.vector.styles%7Cwikibase.common%2Ctoc&only=styles&skin=vector&*">
<link rel="stylesheet" href="bits.wikimedia.org/www.wikidata.org/load.php?debug=false&lang=en&modules=jquery.ui.core&only=styles&skin=vector&*">
with jquery.ui.core being added after jquery.wikibase.statementview. (I see these are added by EntityView?)
with debug=true, it works correctly, but simply (it seems!) because each of the above is loaded individually in alphabetical order, so jquery comes before wikibase.
I cannot reproduce the issue on my dev wiki, although have occasionally seen this happen before and never found out why.
Version: unspecified
Severity: normal