Steps to replicate the issue (include links if applicable):
When I use the sample from:
https://www.mediawiki.org/wiki/Manual:Footer
to add an element in the footer, then the link text will be enclosed by the two characters from the subject.
What happens?:
The link text will be:
⧼Foo⧽
What should have happened instead?:
That the link text will be:
Foo
Software version (skip for WMF-hosted wikis like Wikipedia):
1.39.4
Other information (browser name/version, screenshots, etc.):
Sample source code:
$wgHooks['SkinAddFooterLinks'][] = function ( Skin $skin, string $key, array &$footerlinks ) { if ( $key === 'places' ) { $footerlinks['foo'] = Html::element( 'a', [ 'href' => 'https://foo,bar', 'rel' => 'noreferrer', 'target' => '_blank', ], $skin->msg('Foo')->text() ); }; };
I have take a look in the source code of the page and the both char's will be also here.
So it can't be an browser problem.