Index: trunk/phase3/includes/api/ApiPurge.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | $result[] = $r; |
67 | 67 | continue; |
68 | 68 | } |
69 | | - $article = new Article($title); |
| 69 | + $article = Mediawiki::articleFromTitle( $title ); |
70 | 70 | $article->doPurge(); // Directly purge and skip the UI part of purge(). |
71 | 71 | $r['purged'] = ''; |
72 | 72 | $result[] = $r; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -370,6 +370,7 @@ |
371 | 371 | message to be included in the page text |
372 | 372 | * Added uiprop=changeablegroups to meta=userinfo |
373 | 373 | * Added usprop=gender to list=users |
| 374 | +* (bug 18311) action=purge now works for images too |
374 | 375 | |
375 | 376 | === Languages updated in 1.15 === |
376 | 377 | |