r82248 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82247‎ | r82248 | r82249 >
Date:14:30, 16 February 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r82219, r82247
Modified paths:
  • /branches/wmf/1.17wmf1/includes/OutputPage.php (modified) (history)
  • /branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoaderStartUpModule.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/OutputPage.php
@@ -2415,7 +2415,7 @@
24162416 $timestamp = max( $timestamp, $module->getModifiedTime( $context ) );
24172417 }
24182418 // Add a version parameter so cache will break when things change
2419 - $query['version'] = wfTimestamp( TS_ISO_8601_BASIC, round( $timestamp, -2 ) );
 2419+ $query['version'] = wfTimestamp( TS_ISO_8601_BASIC, $timestamp );
24202420 }
24212421 // Make queries uniform in order
24222422 ksort( $query );
Property changes on: branches/wmf/1.17wmf1/includes/OutputPage.php
___________________________________________________________________
Modified: svn:mergeinfo
24232423 Merged /trunk/phase3/includes/OutputPage.php:r82219
Index: branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -33,7 +33,7 @@
3434 $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang,
3535 $wgVariantArticlePath, $wgActionPaths, $wgUseAjax, $wgVersion,
3636 $wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgEnableMWSuggest,
37 - $wgSitename, $wgFileExtensions;
 37+ $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath;
3838
3939 // Pre-process information
4040 $separatorTransTable = $wgContLang->separatorTransformTable();
@@ -77,6 +77,7 @@
7878 'wgSiteName' => $wgSitename,
7979 'wgFileExtensions' => array_values( $wgFileExtensions ),
8080 'wgDBname' => $wgDBname,
 81+ 'wgExtensionAssetsPath' => $wgExtensionAssetsPath,
8182 );
8283 if ( $wgContLang->hasVariants() ) {
8384 $vars['wgUserVariant'] = $wgContLang->getPreferredVariant();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82219(bug 27302) Don't append the current timestamp for user/site modules when no ...catrope07:19, 16 February 2011
r82247Expose $wgExtensionAssetsPath in JScatrope14:28, 16 February 2011

Status & tagging log