function fnAddPersonalUrls( &$personal_urls, &$wgTitle ) {
global $wgUser;
if ( ! $wgUser->getID() ) {
$sk = $wgUser->getSkin();
$urls[] = array( 'text' => 'Create account' ,
'href' => $sk->makeUrl( 'How to get a wiki account' )
);
$personal_urls = $personal_urls + $urls;
}
return true;
}
$wgHooks['PersonalUrls'][] = 'fnAddPersonalUrls';
It looks like you're new here. If you want to get involved, click one of these buttons!