Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | } |
148 | 148 | |
149 | 149 | $error = ''; |
150 | | - if ( !wfRunHooks( 'ArticleDelete', array( &$article, &$wgUser, &$reason, $error ) ) ) { |
| 150 | + if ( !wfRunHooks( 'ArticleDelete', array( &$article, &$wgUser, &$reason, &$error ) ) ) { |
151 | 151 | return array( array( 'hookaborted', $error ) ); |
152 | 152 | } |
153 | 153 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -529,6 +529,7 @@ |
530 | 530 | $wgDisableCounters enabled |
531 | 531 | * (bug 25987) prop=info&inprop=watched now also works for missing pages |
532 | 532 | * (bug 26006) prop=langlinks now allows obtaining full URL |
| 533 | +* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook |
533 | 534 | |
534 | 535 | === Languages updated in 1.17 === |
535 | 536 | |