From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- includes/parser/ParserCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/parser/ParserCache.php') diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index bf11da2e..7e61157a 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -35,9 +35,9 @@ class ParserCache { } else { $edit = ''; } - $pageid = intval( $article->getID() ); + $pageid = $article->getID(); $renderkey = (int)($action == 'render'); - $key = wfMemcKey( 'pcache', 'idhash', "$pageid-$renderkey!$hash$edit" ); + $key = wfMemcKey( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}{$edit}" ); return $key; } -- cgit v1.2.3-54-g00ecf