Skip to navigation
How to add an additional link to the mediawiki footer after disclaimer
03.07.20
example add Imprint add this code to the end of LocalSettings.php $wgHooks['SkinTemplateOutputPageBeforeExec'][] = function( $sk, &$tpl ) { $imprintLink = Html::rawelement( 'a', [ 'href' => 'imprint' ], 'Imprint' ); $tpl->set( 'imprint', $imprintLink ); $tpl->data['footerlinks']['places'][] = 'imprint'; return true; };
https://www.mediawiki.org/wiki/Manual:Footer
Reply
Anonymous
Information Epoch 1732593024
Looking for the ninety percent solution.
Home
Notebook
Contact us