r98929 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98928‎ | r98929 | r98930 >
Date:21:37, 4 October 2011
Author:catrope
Status:ok
Tags:
Comment:
Commit live hack: bump the render hash number for action=parse again
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') + 4*(int)($wgRequest->getVal('action') == 'parse');
 52+ $renderkey = (int)($wgRequest->getVal('action') == 'render') + 5*(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

Status & tagging log