If I hard-code or define wikibase-sitelinks-wikivoyage message in WikimediaMessages extension, it still does not work with entity view.
This is because wikibase-sitelinks-wikivoyage and such messages are required by the wikibase.ui.entityViewInit resource loader module.
To solve this, we need to either:
- inject these into the module dynamically based on settings
- generate this with php and re-use this part of the html, instead of regenerate it with JS.
Without resolving this bug, we will have "<wikibase-sitelinks-wikivoyage>(2 entries)" or such as section headings on Wikidata.