From: Brion Vibber Date: Tue, 18 Dec 2007 20:58:37 +0000 (+0000) Subject: * (bug 12296) Simplify cache epoch in default LocalSettings.php X-Git-Tag: 1.31.0-rc.0~50357 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=898f6a75157500f98b344d062b16c62d6978ff34;p=lhc%2Fweb%2Fwiklou.git * (bug 12296) Simplify cache epoch in default LocalSettings.php --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index dcbbb9f199..bc55264c7d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -250,6 +250,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 12031) All namespaces doesn't work in Special:Newpages * (bug 585) Only create searchindex replica table for parser tests if db is MySQL * Allow --record option if parserTests.php to work when using Postgres +* (bug 12296) Simplify cache epoch in default LocalSettings.php + == Parser changes in 1.12 == diff --git a/config/index.php b/config/index.php index 25e4788e69..c24b963d36 100644 --- a/config/index.php +++ b/config/index.php @@ -1672,8 +1672,7 @@ if ( \$wgCommandLineMode ) { # When you make changes to this configuration file, this will make # sure that cached pages are cleared. -\$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); -\$wgCacheEpoch = max( \$wgCacheEpoch, \$configdate ); +\$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); "; ## End of setting the $localsettings string // Keep things in Unix line endings internally;