r105386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105385‎ | r105386 | r105387 >
Date:23:58, 6 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
these are seconds, not ms, and the touched time does not get updated on render, so this caused 2h+ invalidation :/
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php
@@ -292,7 +292,7 @@
293293
294294 $dbw->update(
295295 'page',
296 - array( 'page_touched' => $dbw->timestamp( time() + 9001 ) ),
 296+ array( 'page_touched' => $dbw->timestamp( time() + 4 ) ),
297297 $title->pageCond(),
298298 __METHOD__
299299 );

Status & tagging log