Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -15,6 +15,7 @@ |
16 | 16 | var $thumbScriptUrl, $transformVia404; |
17 | 17 | var $descBaseUrl, $scriptDirUrl, $articleUrl, $fetchDescription, $initialCapital; |
18 | 18 | var $pathDisclosureProtection = 'paranoid'; |
| 19 | + var $descriptionCacheExpiry, $apiThumbCacheExpiry, $apiThumbCacheDir; |
19 | 20 | |
20 | 21 | /** |
21 | 22 | * Factory functions for creating new files |
Index: trunk/phase3/includes/filerepo/ForeignAPIFile.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | } |
33 | 33 | |
34 | 34 | function transform( $params, $flags = 0 ) { |
35 | | - if ( $this->repo->apiThumbCacheExpiry > 0 ) { |
| 35 | + if ( $this->repo->apiThumbCacheExpiry > 0 && $this->repo->apiThumbCacheDir ) { |
36 | 36 | $thumbUrl = $this->repo->getThumbUrlFromCache( |
37 | 37 | $this->getName(), |
38 | 38 | isset( $params['width'] ) ? $params['width'] : -1, |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -47,6 +47,7 @@ |
48 | 48 | * (bug 14954) Fix regression in Modern and Simple skins |
49 | 49 | * Recursion loop check added to Categoryfinder class |
50 | 50 | * Fixed few performance troubles of large job queue processing |
| 51 | +* Not setting various parameters in Foreign Repos now fails more gracefully |
51 | 52 | |
52 | 53 | === API changes in 1.14 === |
53 | 54 | |