Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -626,7 +626,9 @@ |
627 | 627 | $personal_urls['logout'] = array( |
628 | 628 | 'text' => wfMsg( 'userlogout' ), |
629 | 629 | 'href' => self::makeSpecialUrl( 'Userlogout', |
630 | | - $title->isSpecial( 'Preferences' ) ? '' : $returnto |
| 630 | + // userlogout link must always contain an & character, otherwise we might not be able |
| 631 | + // to detect a buggy precaching proxy (bug 17790) |
| 632 | + $title->isSpecial( 'Preferences' ) ? 'noreturnto' : $returnto |
631 | 633 | ), |
632 | 634 | 'active' => false |
633 | 635 | ); |