dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f712ce
)
Fix double-escaping on login/logout return page
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 30 Apr 2004 06:51:31 +0000
(06:51 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 30 Apr 2004 06:51:31 +0000
(06:51 +0000)
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
8c8857a
..
cd28f43
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-74,7
+74,6
@@
$this->thispage = $wgTitle->getPrefixedDbKey();
$this->thisurl = $wgTitle->getPrefixedURL();
$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();
$this->loggedin = $wgUser->getID() != 0;
$this->username = $wgUser->getName();
$this->userpage = $wgLang->getNsText( Namespace::getUser() ) . ":" . $wgUser->getName();
@@
-253,7
+252,7
@@
);
$personal_urls['logout'] = array(
'text' => wfMsg('userlogout'),
);
$personal_urls['logout'] = array(
'text' => wfMsg('userlogout'),
- 'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurl
e
),
+ 'href' => $this->makeSpecialUrl('Userlogout','returnto=' . $this->thisurl),
'ttip' => wfMsg('tooltip-logout'),
'akey' => wfMsg('accesskey-logout')
);
'ttip' => wfMsg('tooltip-logout'),
'akey' => wfMsg('accesskey-logout')
);
@@
-273,7
+272,7
@@
);
$personal_urls['anonlogin'] = array(
'text' => wfMsg('userlogin'),
);
$personal_urls['anonlogin'] = array(
'text' => wfMsg('userlogin'),
- 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl
e
),
+ 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);
@@
-281,7
+280,7
@@
$personal_urls['login'] = array(
'text' => wfMsg('userlogin'),
$personal_urls['login'] = array(
'text' => wfMsg('userlogin'),
- 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl
e
),
+ 'href' => $this->makeSpecialUrl('Userlogin', 'returnto='.$this->thisurl),
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);
'ttip' => wfMsg('tooltip-login'),
'akey' => wfMsg('accesskey-login')
);