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:
e376ee6
)
Prevent bug 17790 from reappearing on Special:Preferences
author
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 16 Apr 2011 07:39:41 +0000
(07:39 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 16 Apr 2011 07:39:41 +0000
(07:39 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
6557754
..
d40c073
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-626,7
+626,9
@@
class SkinTemplate extends Skin {
$personal_urls['logout'] = array(
'text' => wfMsg( 'userlogout' ),
'href' => self::makeSpecialUrl( 'Userlogout',
- $title->isSpecial( 'Preferences' ) ? '' : $returnto
+ // userlogout link must always contain an & character, otherwise we might not be able
+ // to detect a buggy precaching proxy (bug 17790)
+ $title->isSpecial( 'Preferences' ) ? 'noreturnto' : $returnto
),
'active' => false
);