Actual:
https://nl.wikipedia.beta.wmflabs.org/wiki/Hoofdpagina (default, logged-out, using vector-2022).
A [dismiss] button is displayed despite there being no actual site notice.
Expected:
No [hide] button.
When MediaWiki:Anonnotice is empty (aka a "blank" message), that means no site notice should be shown to logged-out users.
Its default is - in the software which means to display MediaWiki:Sitenotice for both logged-in and logged-out users. However, wikis often blank Anonnotice and then utilize Sitenotice for logged-in users only. When Anonnotice is disabled with - and Sitenotice is also blank or disabled, then no site notice is shown to anyone.