(bug 27302) Don't append the current timestamp for user/site modules when no user...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 16 Feb 2011 07:19:33 +0000 (07:19 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 16 Feb 2011 07:19:33 +0000 (07:19 +0000)
includes/OutputPage.php

index b3a7eb9..711b5d2 100644 (file)
@@ -2496,7 +2496,7 @@ class OutputPage {
                                        $timestamp = max( $timestamp, $module->getModifiedTime( $context ) );
                                }
                                // Add a version parameter so cache will break when things change
-                               $query['version'] = wfTimestamp( TS_ISO_8601_BASIC, round( $timestamp, -2 ) );
+                               $query['version'] = wfTimestamp( TS_ISO_8601_BASIC, $timestamp );
                        }
                        // Make queries uniform in order
                        ksort( $query );