I have an Hebrew MediaWiki 1.34.0 website with ContactPage extension with a generally default configuration;
The contact form works and I don't recall any problem with it.
I have created a footer link to the contact form via this code in LocalSettings.php:
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = function( $skin, &$template ) { $contactLink = Html::element( 'a', [ 'href' => $skin->msg( 'contactpage-url' )->escaped() ], $skin->msg( 'יצירת קשר' )->text() ); $template->set( 'contact', $contactLink ); $template->data['footerlinks']['places'][] = 'contact'; return true; };
The created ContactPage footer link leads to a not found (404) webpage
Instead leading to:
index.php?title=מיוחד:יצירת_קשר
It leads to:
⧼contactpage-url⧽
How to solve that problem?