Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -295,6 +295,8 @@ |
296 | 296 | calling action=purge&forcelinkupdate. |
297 | 297 | * (bug 34377) action=watch now parses messages using the correct title instead |
298 | 298 | of "API". |
| 299 | +* (bug 35036) WikiLove messages were not automatically updated in JavaScript |
| 300 | + after having been changed on-wiki due to a bug in core |
299 | 301 | |
300 | 302 | === Languages updated in 1.19 === |
301 | 303 | |
Index: trunk/phase3/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: trunk/phase3/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 | |