r98311 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98310‎ | r98311 | r98312 >
Date:13:50, 28 September 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: Merge r98310 from 1.17wmf1. I'm done messing around now, I promise
Modified paths:
  • /branches/wmf/1.18wmf1/includes/parser/ParserCache.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/parser/ParserCache.php
@@ -48,7 +48,7 @@
4949
5050 // idhash seem to mean 'page id' + 'rendering hash' (r3710)
5151 $pageid = $article->getID();
52 - $renderkey = (int)($wgRequest->getVal('action') == 'render') + 3*(int)($wgRequest->getVal('action') == 'parse');
 52+ $renderkey = (int)($wgRequest->getVal('action') == 'render') + 4*(int)($wgRequest->getVal('action') == 'parse');
5353
5454 $key = wfMemcKey( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}" );
5555 return $key;

Follow-up revisions

RevisionCommit summaryAuthorDate
r997171.18wmf1: Revert r98306, r98309, r98311, r98929 (action=parse iOS hack)catrope18:50, 13 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r983101.17wmf1: Followup r98305, r98308, bump to 4 because I've been trying stuff o...catrope13:49, 28 September 2011

Status & tagging log