r102405 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102404‎ | r102405 | r102406 >
Date:16:01, 8 November 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r102404
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/wmf/clearMessageBlobs.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/wmf/clearMessageBlobs.php
@@ -24,12 +24,14 @@
2525 }
2626
2727 foreach ( glob( "$IP/languages/messages/Messages*.php" ) as $file ) {
28 - if ( !file_exists( $file ) ) {
29 - continue;
30 - }
3128 $maxTime = max( $maxTime, filemtime( $file ) );
3229 }
3330
 31+ # LocalisationUpdate
 32+ foreach ( glob( "$IP/cache/l10n/*.cache" ) as $file ) {
 33+ $maxTime = max( $maxTime, filemtime( $file ) );
 34+ }
 35+
3436 if ( !file_exists( "$IP/cache/message-timestamp" ) ) {
3537 $this->clearBlobs();
3638 } else {
Property changes on: branches/wmf/1.18wmf1/maintenance/wmf/clearMessageBlobs.php
___________________________________________________________________
Added: svn:mergeinfo
3739 Merged /branches/REL1_17/phase3/maintenance/wmf/clearMessageBlobs.php:r81445,81448
3840 Merged /branches/sqlite/maintenance/wmf/clearMessageBlobs.php:r58211-58321
3941 Merged /trunk/phase3/maintenance/wmf/clearMessageBlobs.php:r92580,92634,92713,92762,92765,92791,92854,92884,92886-92887,92894,92898,92907,92932,92958,93141,93149,93151,93233-93234,93258,93266,93303,93516-93518,93520,93818-93822,93847,93858,93891,93935-93936,93977,94058,94062,94068,94107,94155,94235,94277,94346,94372,94422,94425,94444,94448,94456,94498,94517,94601,94630,94728,94738,94825,94862,94995-94997,95023,95042,95072-95073,95155,95327,95332,95410,95422,95426,95442,95468,95601,95812,96178,96182,97810,98578,98598,98656,98990,99304,99308,99349,99653,99694,100219,100221,100223,100226,100239,100242,101306
4042 Merged /branches/new-installer/phase3/maintenance/wmf/clearMessageBlobs.php:r43664-66004
4143 Merged /trunk/extensions/WikimediaMaintenance/clearMessageBlobs.php:r102404
4244 Merged /branches/REL1_15/phase3/maintenance/wmf/clearMessageBlobs.php:r51646

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102404clearMessageBlogs didn't take localisationupdate into account...nikerabbit15:51, 8 November 2011

Status & tagging log