Steps to replicate the issue (include links if applicable):
- Navigate to Special:Translate
What happens?:
You'll see an empty warning box appear at the top.
What should have happened instead?:
Should not see an empty warning box
Software version (skip for WMF-hosted wikis like Wikipedia):
MediaWiki: master
Translate: master
Other information (browser name/version, screenshots, etc.):
Firefox 114.0.1 on Linux
Started happening once https://gerrit.wikimedia.org/r/c/mediawiki/core/+/893061 landed.
Translate extension uses the following CSS to hide or show the warning box:
.tux-group-warning:empty { display: none }
With https://gerrit.wikimedia.org/r/c/mediawiki/core/+/893061, it is no longer empty and has the following elements:
<span class="cdx-message__icon"></span><div class="cdx-message__content"></div>