Thread:Project:Support desk/extension:confirmaccount/reply (4)

ok I fixed some codes

it should be something like this

$wgHooks['PersonalUrls'][] = 'onPersonalUrls';

function onPersonalUrls( array &$personal_urls, Title $title, SkinTemplate $skin ) { // Add a link to Special:RequestAccount if a link exists for login if ( isset( $personal_urls['login'] ) || isset( $personal_urls['anonlogin'] ) ) { $personal_urls['createaccount'] = array(               'text' => wfMessage( 'requstaccount' )->text,                'href' => SpecialPage::getTitleFor( 'RequestAccount' )->getFullURL            ); }   return true; }

but I need some help to override the login in link so that it just shows login not login/createaccount