Use getPrefixedUrl() for returnto parameters
This commit is contained in:
parent
9401ed5bb2
commit
384472600b
1 changed files with 1 additions and 1 deletions
|
|
@ -1316,7 +1316,7 @@ END
|
|||
global $wgUser, $wgOut;
|
||||
$skin = $wgUser->getSkin();
|
||||
$loginTitle = Title::makeTitle( NS_SPECIAL, 'Userlogin' );
|
||||
$loginLink = $skin->makeKnownLinkObj( $loginTitle, wfMsgHtml( 'loginreqlink' ), 'returnto=' . $this->mTitle->getPrefixedText() );
|
||||
$loginLink = $skin->makeKnownLinkObj( $loginTitle, wfMsgHtml( 'loginreqlink' ), 'returnto=' . $this->mTitle->getPrefixedUrl() );
|
||||
|
||||
$wgOut->setPageTitle( wfMsg( 'whitelistedittitle' ) );
|
||||
$wgOut->setRobotpolicy( 'noindex,nofollow' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue