Index: branches/wmf/1.19wmf1/includes/resourceloader/ResourceLoaderModule.php |
— | — | @@ -357,6 +357,10 @@ |
358 | 358 | * timestamps. Whenever anything happens that changes the module's |
359 | 359 | * contents for these parameters, the mtime should increase. |
360 | 360 | * |
| 361 | + * NOTE: The mtime of the module's messages is NOT automatically included. |
| 362 | + * If you want this to happen, you'll need to call getMsgBlobMtime() |
| 363 | + * yourself and take its result into consideration. |
| 364 | + * |
361 | 365 | * @param $context ResourceLoaderContext: Context object |
362 | 366 | * @return Integer: UNIX timestamp |
363 | 367 | */ |
Index: branches/wmf/1.19wmf1/includes/resourceloader/ResourceLoaderWikiModule.php |
— | — | @@ -157,6 +157,7 @@ |
158 | 158 | if ( count( $mtimes ) ) { |
159 | 159 | $modifiedTime = max( $modifiedTime, max( $mtimes ) ); |
160 | 160 | } |
| 161 | + $modifiedTime = max( $modifiedTime, $this->getMsgBlobMtime( $context->getLanguage() ) ); |
161 | 162 | return $modifiedTime; |
162 | 163 | } |
163 | 164 | |