是否可以在MediaWiki的页脚上放置外部链接? 我试图在我的localsetting.php中添加以下代码:
$wgHooks['SkintemplateOutputPageBeforeExec'][] = function( $sk,&$tpl ) {
$tpl->set( 'aboutus',$sk->footerLink( 'aboutus','aboutuspage' ) );
// or to add non-link text:
$tpl->set( 'footertext','Text to show in footer' );
$tpl->data['footerlinks']['places'][] = 'aboutus';
return true;
};
但是,这去创建Mediawiki的页面,我想添加一个到联系页面的链接。我已经修改了MediaWiki:Aboutus和MediaWiki:Aboutuspage页面,但是什么也没有做,请继续提醒我回到MediaWiki的页面。