r114225 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114224‎ | r114225 | r114226 >
Date:00:30, 20 March 2012
Author:awjrichards
Status:ok
Tags:
Comment:
Revert r114220
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php
@@ -1453,7 +1453,7 @@
14541454 global $wgRequest, $wgCookiePrefix;
14551455
14561456 if ( !isset( self::$useFormatCookieName )) {
1457 - self::$useFormatCookieName = 'mf_useformat';
 1457+ self::$useFormatCookieName = $wgCookiePrefix . 'mf_useformat';
14581458 }
14591459
14601460 $useFormat = $this->getUseFormat();
@@ -1505,7 +1505,7 @@
15061506
15071507 public function getCacheVaryCookies( $out, &$cookies ) {
15081508 global $wgCookiePrefix;
1509 - $cookies[] = 'mf_useformat';
 1509+ $cookies[] = $wgCookiePrefix . 'mf_useformat';
15101510 return true;
15111511 }
15121512

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114220Changing mf_useformat cookie name to not use cookie prefixawjrichards00:13, 20 March 2012

Status & tagging log