r98930 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98929‎ | r98930 | r98931 >
Date:21:37, 4 October 2011
Author:catrope
Status:ok
Tags:
Comment:
Commit live hack: bump render hash for API parse
Modified paths:
  • /branches/wmf/1.17wmf1/includes/parser/ParserCache.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/parser/ParserCache.php
@@ -42,7 +42,7 @@
4343
4444 // idhash seem to mean 'page id' + 'rendering hash' (r3710)
4545 $pageid = $article->getID();
46 - $renderkey = (int)($wgRequest->getVal('action') == 'render') + 4*(int)($wgRequest->getVal('action') == 'parse');
 46+ $renderkey = (int)($wgRequest->getVal('action') == 'render') + 5*(int)($wgRequest->getVal('action') == 'parse');
4747
4848 $key = wfMemcKey( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}" );
4949 return $key;

Follow-up revisions

RevisionCommit summaryAuthorDate
r997161.17wmf1: Revert r98305, r98308, r98310, r98930 (action=parse iOS hack)catrope18:49, 13 October 2011

Status & tagging log