The footer link is closed in brackets and look like this: "⧼Kontakt⧽"
https://mydomain.com/wiki/⧼Spesial:Kontakt⧽
Because of this the link to the special contact page will not work. Any idea how to fix this?
This is my code in LocalSettings.php (input is translated to my language):
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = function( $sk, &$tpl ) { $contactLink = Html::element( 'a', array( 'href' => $sk->msg( 'Spesial:Kontakt' )->escaped() ), $sk->msg( 'Kontakt' )->text() ); $tpl->set( 'contact', $contactLink ); $tpl->data['footerlinks']['places'][] = 'contact'; return true; };