Index: trunk/phase3/maintenance/importImages.php |
— | — | @@ -212,7 +212,9 @@ |
213 | 213 | } else { |
214 | 214 | $archive = $image->publish( $file ); |
215 | 215 | if ( !$archive->isGood() ) { |
216 | | - echo( "failed.\n" ); |
| 216 | + echo( "failed. (" . |
| 217 | + $archive->getWikiText() . |
| 218 | + ")\n" ); |
217 | 219 | $failed++; |
218 | 220 | continue; |
219 | 221 | } |
— | — | @@ -258,7 +260,7 @@ |
259 | 261 | } |
260 | 262 | |
261 | 263 | } else { |
262 | | - echo( "failed.\n" ); |
| 264 | + echo( "failed. (at recordUpload stage)\n" ); |
263 | 265 | $svar = 'failed'; |
264 | 266 | } |
265 | 267 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -35,6 +35,7 @@ |
36 | 36 | * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some cases |
37 | 37 | * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions |
38 | 38 | * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown as "Permitted file types" on the upload form |
| 39 | +* (bug 26379) importImages.php gives more descriptive error message on failure. |
39 | 40 | |
40 | 41 | === API changes in 1.18 === |
41 | 42 | * (bug 26339) Throw warning when truncating an overlarge API result |