$this->thispage = $wgTitle->getPrefixedDbKey();
$this->thisurl = $wgTitle->getPrefixedURL();
- $this->thisurle = urlencode($this->thisurl);
$this->loggedin = $wgUser->getID() != 0;
$this->username = $wgUser->getName();
$this->userpage = $wgLang->getNsText( Namespace::getUser() ) . ":" . $wgUser->getName();
);
$personal_urls['logout'] = array(
'text' => wfMsg('userlogout'),
- 'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurle),
+ 'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurl),
'ttip' => wfMsg('tooltip-logout'),
'akey' => wfMsg('accesskey-logout')
);
);
$personal_urls['anonlogin'] = array(
'text' => wfMsg('userlogin'),
- 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurle),
+ 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);
$personal_urls['login'] = array(
'text' => wfMsg('userlogin'),
- 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurle),
+ 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);