https://bugzilla.wikimedia.org/show_bug.cgi?id=55468
--- Comment #6 from paladox2015 <[email protected]> --- hi please add the following to this https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FConfirmAccount/8371f282499d2f715a56ed18b6a9fa0b0e8e3e8b/frontend%2FConfirmAccountUI.hooks.php please the link is for request account and would be next to login $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( 'requestaccount' )->text(), 'href' => SpecialPage::getTitleFor( 'RequestAccount' )->getFullURL() ); } return true; } and please also change this code in that link it will change the name of link from login/create account to login public static function setRequestLoginLinks( array &$personal_urls, &$title ) { if ( isset( $personal_urls['anonlogin'] ) ) { $personal_urls['anonlogin']['text'] = wfMessage( 'login' )->escaped(); } elseif ( isset( $personal_urls['login'] ) ) { $personal_urls['login']['text'] = wfMessage( 'login' )->escaped(); } return true; } -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
