Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -1453,7 +1453,7 @@ |
1454 | 1454 | global $wgRequest, $wgCookiePrefix; |
1455 | 1455 | |
1456 | 1456 | if ( !isset( self::$useFormatCookieName )) { |
1457 | | - self::$useFormatCookieName = 'mf_useformat'; |
| 1457 | + self::$useFormatCookieName = $wgCookiePrefix . 'mf_useformat'; |
1458 | 1458 | } |
1459 | 1459 | |
1460 | 1460 | $useFormat = $this->getUseFormat(); |
— | — | @@ -1505,7 +1505,7 @@ |
1506 | 1506 | |
1507 | 1507 | public function getCacheVaryCookies( $out, &$cookies ) { |
1508 | 1508 | global $wgCookiePrefix; |
1509 | | - $cookies[] = 'mf_useformat'; |
| 1509 | + $cookies[] = $wgCookiePrefix . 'mf_useformat'; |
1510 | 1510 | return true; |
1511 | 1511 | } |
1512 | 1512 | |