I don't want to edit the manual page but there's an example of code here: Topic:Yd872oljdqses7mj.
Manual talk:Hooks/SkinAddFooterLinks
Adding the current example code to LocalSettings.php yields errors in Mediawiki 1.35.
To make it work in LocalSettings.php you have to use $wgHooks:
$wgHooks['SkinAddFooterLinks'][] = function( $skin, $key, &$footerlinks ) {
if ( $key === 'places' ) {
$footerlinks['test1'] = '<A href=#>Test Link 1</a>';
$footerlinks['test2'] = '<A href=#>Test Link 2</a>';
}
};
There are no older topics